feat:add service unit test #82
Annotations
8 errors and 2 warnings
test:
internal/service/app_test.go#L75
apiClient.UpdateAPP undefined (type *"github.com/begonia-org/go-sdk/client".AppAPI has no field or method UpdateAPP)
|
test:
internal/service/app_test.go#L83
apiClient.UpdateAPP undefined (type *"github.com/begonia-org/go-sdk/client".AppAPI has no field or method UpdateAPP)
|
test:
internal/service/app_test.go#L118
apiClient.ListAPP undefined (type *"github.com/begonia-org/go-sdk/client".AppAPI has no field or method ListAPP)
|
test:
internal/service/gateway_test.go#L116
apiClient.List undefined (type *"github.com/begonia-org/go-sdk/client".EndpointAPI has no field or method List)
|
test:
internal/service/gateway_test.go#L150
srv.Post undefined (type "github.com/begonia-org/go-sdk/api/endpoint/v1".EndpointServiceServer has no field or method Post)
|
test:
internal/service/gateway_test.go#L158
srv.Get undefined (type "github.com/begonia-org/go-sdk/api/endpoint/v1".EndpointServiceServer has no field or method Get)
|
test:
internal/service/user_test.go#L80
apiClient.UpdateUser undefined (type *"github.com/begonia-org/go-sdk/client".UsersAPI has no field or method UpdateUser)
|
test
Process completed with exit code 1.
|
test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-go@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-go@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|