Skip to content

test: mockery

test: mockery #2686

Triggered via pull request September 8, 2024 15:03
Status Failure
Total duration 9m 58s
Artifacts

test.yml

on: pull_request
Matrix: test / ubuntu
Matrix: test / windows
Fit to window
Zoom out
Zoom in

Annotations

38 errors and 2 warnings
test / ubuntu (1.22)
Cannot open: File exists
test / ubuntu (1.22)
Cannot open: File exists
test / ubuntu (1.22)
Cannot open: File exists
test / ubuntu (1.22)
Cannot open: File exists
test / ubuntu (1.22)
Cannot open: File exists
test / ubuntu (1.22)
Cannot open: File exists
test / ubuntu (1.22)
Cannot open: File exists
test / ubuntu (1.22)
Cannot open: File exists
test / ubuntu (1.22)
Cannot open: File exists
test / ubuntu (1.22)
Cannot open: File exists
test / ubuntu (1.22): auth/auth_test.go#L84
cannot use &Context{…} (value of type *Context) as "github.com/goravel/framework/contracts/http".Context value in return statement: *Context does not implement "github.com/goravel/framework/contracts/http".Context (wrong type for method WithValue)
test / ubuntu (1.22): http/context.go#L10
cannot use NewContext() (value of type *Context) as "github.com/goravel/framework/contracts/http".Context value in return statement: *Context does not implement "github.com/goravel/framework/contracts/http".Context (wrong type for method WithValue)
test / ubuntu (1.22): session/middleware/start_session_test.go#L27
cannot use NewTestContext(r.Context(), next, w, r) (value of type *TestContext) as "github.com/goravel/framework/contracts/http".Context value in argument to StartSession(): *TestContext does not implement "github.com/goravel/framework/contracts/http".Context (wrong type for method WithValue)
test / ubuntu (1.22)
Process completed with exit code 1.
test / ubuntu (1.23)
The job was canceled because "_1_22" failed.
test / ubuntu (1.23): auth/auth_test.go#L84
cannot use &Context{…} (value of type *Context) as "github.com/goravel/framework/contracts/http".Context value in return statement: *Context does not implement "github.com/goravel/framework/contracts/http".Context (wrong type for method WithValue)
test / ubuntu (1.23): http/context.go#L10
cannot use NewContext() (value of type *Context) as "github.com/goravel/framework/contracts/http".Context value in return statement: *Context does not implement "github.com/goravel/framework/contracts/http".Context (wrong type for method WithValue)
test / ubuntu (1.23): session/middleware/start_session_test.go#L27
cannot use NewTestContext(r.Context(), next, w, r) (value of type *TestContext) as "github.com/goravel/framework/contracts/http".Context value in argument to StartSession(): *TestContext does not implement "github.com/goravel/framework/contracts/http".Context (wrong type for method WithValue)
test / ubuntu (1.23)
Process completed with exit code 1.
test / ubuntu (1.23)
Cannot open: File exists
test / ubuntu (1.23)
Cannot open: File exists
test / ubuntu (1.23)
Cannot open: File exists
test / ubuntu (1.23)
Cannot open: File exists
test / ubuntu (1.23)
Cannot open: File exists
test / ubuntu (1.23)
Cannot open: File exists
test / ubuntu (1.23)
Cannot open: File exists
test / ubuntu (1.23)
Cannot open: File exists
test / ubuntu (1.23)
Cannot open: File exists
test / ubuntu (1.23)
Cannot open: File exists
test / windows (1.22): auth/auth_test.go#L84
cannot use &Context{…} (value of type *Context) as "github.com/goravel/framework/contracts/http".Context value in return statement: *Context does not implement "github.com/goravel/framework/contracts/http".Context (wrong type for method WithValue)
test / windows (1.22): http/context.go#L10
cannot use NewContext() (value of type *Context) as "github.com/goravel/framework/contracts/http".Context value in return statement: *Context does not implement "github.com/goravel/framework/contracts/http".Context (wrong type for method WithValue)
test / windows (1.22): session/middleware/start_session_test.go#L27
cannot use NewTestContext(r.Context(), next, w, r) (value of type *TestContext) as "github.com/goravel/framework/contracts/http".Context value in argument to StartSession(): *TestContext does not implement "github.com/goravel/framework/contracts/http".Context (wrong type for method WithValue)
test / windows (1.22)
Process completed with exit code 1.
test / windows (1.23)
The job was canceled because "_1_22" failed.
test / windows (1.23): auth/auth_test.go#L84
cannot use &Context{…} (value of type *Context) as "github.com/goravel/framework/contracts/http".Context value in return statement: *Context does not implement "github.com/goravel/framework/contracts/http".Context (wrong type for method WithValue)
test / windows (1.23): http/context.go#L10
cannot use NewContext() (value of type *Context) as "github.com/goravel/framework/contracts/http".Context value in return statement: *Context does not implement "github.com/goravel/framework/contracts/http".Context (wrong type for method WithValue)
test / windows (1.23): session/middleware/start_session_test.go#L27
cannot use NewTestContext(r.Context(), next, w, r) (value of type *TestContext) as "github.com/goravel/framework/contracts/http".Context value in argument to StartSession(): *TestContext does not implement "github.com/goravel/framework/contracts/http".Context (wrong type for method WithValue)
test / windows (1.23)
Process completed with exit code 1.
test / ubuntu (1.22)
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
test / ubuntu (1.23)
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2