chore: update mocks

This commit is contained in:
h2zi
2026-02-25 10:07:42 +00:00
committed by github-actions[bot]
parent e947259b86
commit d4c853db01
22 changed files with 69 additions and 30 deletions
+3 -1
View File
@@ -5,8 +5,10 @@ package biz
import (
biz "github.com/acepanel/panel/v3/internal/biz"
api "github.com/acepanel/panel/v3/pkg/api"
types "github.com/acepanel/panel/v3/pkg/types"
mock "github.com/stretchr/testify/mock"
types "github.com/acepanel/panel/v3/pkg/types"
)
// AppRepo is an autogenerated mock type for the AppRepo type
+3 -1
View File
@@ -6,8 +6,10 @@ import (
context "context"
biz "github.com/acepanel/panel/v3/internal/biz"
request "github.com/acepanel/panel/v3/internal/http/request"
mock "github.com/stretchr/testify/mock"
request "github.com/acepanel/panel/v3/internal/http/request"
)
// BackupAccountRepo is an autogenerated mock type for the BackupAccountRepo type
+3 -1
View File
@@ -6,8 +6,10 @@ import (
context "context"
biz "github.com/acepanel/panel/v3/internal/biz"
types "github.com/acepanel/panel/v3/pkg/types"
mock "github.com/stretchr/testify/mock"
types "github.com/acepanel/panel/v3/pkg/types"
)
// BackupRepo is an autogenerated mock type for the BackupRepo type
+3 -1
View File
@@ -6,8 +6,10 @@ import (
context "context"
biz "github.com/acepanel/panel/v3/internal/biz"
request "github.com/acepanel/panel/v3/internal/http/request"
mock "github.com/stretchr/testify/mock"
request "github.com/acepanel/panel/v3/internal/http/request"
)
// CertAccountRepo is an autogenerated mock type for the CertAccountRepo type
+3 -1
View File
@@ -6,8 +6,10 @@ import (
context "context"
biz "github.com/acepanel/panel/v3/internal/biz"
request "github.com/acepanel/panel/v3/internal/http/request"
mock "github.com/stretchr/testify/mock"
request "github.com/acepanel/panel/v3/internal/http/request"
)
// CertDNSRepo is an autogenerated mock type for the CertDNSRepo type
+9 -5
View File
@@ -3,14 +3,18 @@
package biz
import (
biz "github.com/acepanel/panel/v3/internal/biz"
acme "github.com/acepanel/panel/v3/pkg/acme"
context "context"
biz "github.com/acepanel/panel/v3/internal/biz"
request "github.com/acepanel/panel/v3/internal/http/request"
acme "github.com/acepanel/panel/v3/pkg/acme"
types "github.com/acepanel/panel/v3/pkg/types"
v3acme "github.com/mholt/acmez/v3/acme"
mock "github.com/stretchr/testify/mock"
request "github.com/acepanel/panel/v3/internal/http/request"
types "github.com/acepanel/panel/v3/pkg/types"
v3acme "github.com/mholt/acmez/v3/acme"
)
// CertRepo is an autogenerated mock type for the CertRepo type
+3 -1
View File
@@ -6,8 +6,10 @@ import (
context "context"
biz "github.com/acepanel/panel/v3/internal/biz"
request "github.com/acepanel/panel/v3/internal/http/request"
mock "github.com/stretchr/testify/mock"
request "github.com/acepanel/panel/v3/internal/http/request"
)
// CronRepo is an autogenerated mock type for the CronRepo type
+2 -1
View File
@@ -3,9 +3,10 @@
package biz
import (
request "github.com/acepanel/panel/v3/internal/http/request"
db "github.com/acepanel/panel/v3/pkg/db"
mock "github.com/stretchr/testify/mock"
request "github.com/acepanel/panel/v3/internal/http/request"
)
// DatabaseRedisRepo is an autogenerated mock type for the DatabaseRedisRepo type
+3 -1
View File
@@ -6,8 +6,10 @@ import (
context "context"
biz "github.com/acepanel/panel/v3/internal/biz"
request "github.com/acepanel/panel/v3/internal/http/request"
mock "github.com/stretchr/testify/mock"
request "github.com/acepanel/panel/v3/internal/http/request"
)
// DatabaseRepo is an autogenerated mock type for the DatabaseRepo type
+2 -1
View File
@@ -4,8 +4,9 @@ package biz
import (
biz "github.com/acepanel/panel/v3/internal/biz"
request "github.com/acepanel/panel/v3/internal/http/request"
mock "github.com/stretchr/testify/mock"
request "github.com/acepanel/panel/v3/internal/http/request"
)
// DatabaseServerRepo is an autogenerated mock type for the DatabaseServerRepo type
+3 -1
View File
@@ -6,8 +6,10 @@ import (
context "context"
biz "github.com/acepanel/panel/v3/internal/biz"
request "github.com/acepanel/panel/v3/internal/http/request"
mock "github.com/stretchr/testify/mock"
request "github.com/acepanel/panel/v3/internal/http/request"
)
// DatabaseUserRepo is an autogenerated mock type for the DatabaseUserRepo type
+2 -1
View File
@@ -5,8 +5,9 @@ package biz
import (
api "github.com/acepanel/panel/v3/pkg/api"
types "github.com/acepanel/panel/v3/pkg/types"
mock "github.com/stretchr/testify/mock"
types "github.com/acepanel/panel/v3/pkg/types"
)
// EnvironmentRepo is an autogenerated mock type for the EnvironmentRepo type
+4 -3
View File
@@ -3,11 +3,12 @@
package biz
import (
time "time"
biz "github.com/acepanel/panel/v3/internal/biz"
request "github.com/acepanel/panel/v3/internal/http/request"
mock "github.com/stretchr/testify/mock"
request "github.com/acepanel/panel/v3/internal/http/request"
time "time"
)
// MonitorRepo is an autogenerated mock type for the MonitorRepo type
+2 -1
View File
@@ -6,8 +6,9 @@ import (
context "context"
request "github.com/acepanel/panel/v3/internal/http/request"
types "github.com/acepanel/panel/v3/pkg/types"
mock "github.com/stretchr/testify/mock"
types "github.com/acepanel/panel/v3/pkg/types"
)
// ProjectRepo is an autogenerated mock type for the ProjectRepo type
+3 -1
View File
@@ -6,8 +6,10 @@ import (
context "context"
biz "github.com/acepanel/panel/v3/internal/biz"
request "github.com/acepanel/panel/v3/internal/http/request"
mock "github.com/stretchr/testify/mock"
request "github.com/acepanel/panel/v3/internal/http/request"
)
// SSHRepo is an autogenerated mock type for the SSHRepo type
+3 -1
View File
@@ -6,8 +6,10 @@ import (
context "context"
biz "github.com/acepanel/panel/v3/internal/biz"
request "github.com/acepanel/panel/v3/internal/http/request"
mock "github.com/stretchr/testify/mock"
request "github.com/acepanel/panel/v3/internal/http/request"
)
// SettingRepo is an autogenerated mock type for the SettingRepo type
+2 -1
View File
@@ -5,8 +5,9 @@ package biz
import (
api "github.com/acepanel/panel/v3/pkg/api"
types "github.com/acepanel/panel/v3/pkg/types"
mock "github.com/stretchr/testify/mock"
types "github.com/acepanel/panel/v3/pkg/types"
)
// TemplateRepo is an autogenerated mock type for the TemplateRepo type
+3 -1
View File
@@ -4,9 +4,11 @@ package biz
import (
context "context"
image "image"
biz "github.com/acepanel/panel/v3/internal/biz"
image "image"
mock "github.com/stretchr/testify/mock"
)
+3 -1
View File
@@ -4,10 +4,12 @@ package biz
import (
http "net/http"
time "time"
biz "github.com/acepanel/panel/v3/internal/biz"
mock "github.com/stretchr/testify/mock"
time "time"
)
// UserTokenRepo is an autogenerated mock type for the UserTokenRepo type
+3 -1
View File
@@ -6,8 +6,10 @@ import (
context "context"
biz "github.com/acepanel/panel/v3/internal/biz"
request "github.com/acepanel/panel/v3/internal/http/request"
mock "github.com/stretchr/testify/mock"
request "github.com/acepanel/panel/v3/internal/http/request"
)
// WebHookRepo is an autogenerated mock type for the WebHookRepo type
+5 -2
View File
@@ -6,9 +6,12 @@ import (
context "context"
biz "github.com/acepanel/panel/v3/internal/biz"
request "github.com/acepanel/panel/v3/internal/http/request"
types "github.com/acepanel/panel/v3/pkg/types"
mock "github.com/stretchr/testify/mock"
request "github.com/acepanel/panel/v3/internal/http/request"
types "github.com/acepanel/panel/v3/pkg/types"
)
// WebsiteRepo is an autogenerated mock type for the WebsiteRepo type
+2 -2
View File
@@ -3,10 +3,10 @@
package biz
import (
time "time"
biz "github.com/acepanel/panel/v3/internal/biz"
mock "github.com/stretchr/testify/mock"
time "time"
)
// WebsiteStatRepo is an autogenerated mock type for the WebsiteStatRepo type