Skip to content

Add WithChallenges() and WithReviews() options for Track #60

Add WithChallenges() and WithReviews() options for Track

Add WithChallenges() and WithReviews() options for Track #60

Triggered via pull request December 11, 2024 12:14
Status Failure
Total duration 43s
Artifacts

coverage.yml

on: pull_request
test-and-coverage
32s
test-and-coverage
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
test-and-coverage: instruqt/challenge_test.go#L29
cannot use mockClient (variable of type *MockGraphQLClient) as GraphQLClient value in struct literal: *MockGraphQLClient does not implement GraphQLClient (wrong type for method Mutate)
test-and-coverage: instruqt/challenge_test.go#L60
cannot use mockClient (variable of type *MockGraphQLClient) as GraphQLClient value in struct literal: *MockGraphQLClient does not implement GraphQLClient (wrong type for method Mutate)
test-and-coverage: instruqt/challenge_test.go#L91
cannot use mockClient (variable of type *MockGraphQLClient) as GraphQLClient value in struct literal: *MockGraphQLClient does not implement GraphQLClient (wrong type for method Mutate)
test-and-coverage: instruqt/challenge_test.go#L134
cannot use mockClient (variable of type *MockGraphQLClient) as GraphQLClient value in struct literal: *MockGraphQLClient does not implement GraphQLClient (wrong type for method Mutate)
test-and-coverage: instruqt/challenge_test.go#L150
cannot use mockClient (variable of type *MockGraphQLClient) as GraphQLClient value in struct literal: *MockGraphQLClient does not implement GraphQLClient (wrong type for method Mutate)
test-and-coverage: instruqt/client_test.go#L81
cannot use mockGraphQLClient (variable of type *MockGraphQLClient) as GraphQLClient value in struct literal: *MockGraphQLClient does not implement GraphQLClient (wrong type for method Mutate)
test-and-coverage: instruqt/invite_test.go#L29
cannot use mockClient (variable of type *MockGraphQLClient) as GraphQLClient value in struct literal: *MockGraphQLClient does not implement GraphQLClient (wrong type for method Mutate)
test-and-coverage: instruqt/invite_test.go#L75
cannot use mockClient (variable of type *MockGraphQLClient) as GraphQLClient value in struct literal: *MockGraphQLClient does not implement GraphQLClient (wrong type for method Mutate)
test-and-coverage: instruqt/invite_test.go#L108
cannot use mockClient (variable of type *MockGraphQLClient) as GraphQLClient value in struct literal: *MockGraphQLClient does not implement GraphQLClient (wrong type for method Mutate)
test-and-coverage: instruqt/invite_test.go#L124
cannot use mockClient (variable of type *MockGraphQLClient) as GraphQLClient value in struct literal: *MockGraphQLClient does not implement GraphQLClient (wrong type for method Mutate)
test-and-coverage
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636