Skip to content

Commit 884a197

Browse files
author
cx-Margarita-LevitM
committed
Fix
1 parent 92ac444 commit 884a197

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

internal/wrappers/mock/codebashing-mock.go

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66

77
type CodeBashingMockWrapper struct{}
88

9-
func (r CodeBashingMockWrapper) GetCodeBashingLinks(queryID string, _ string) (*[]wrappers.CodeBashingCollection, *wrappers.WebError, error) {
9+
func (r CodeBashingMockWrapper) GetCodeBashingLinks(queryID, _ string) (*[]wrappers.CodeBashingCollection, *wrappers.WebError, error) {
1010
if queryID == "" {
1111
return nil, &wrappers.WebError{Message: "Cannot GET /lessons/mapping/"}, nil
1212
}
@@ -26,12 +26,10 @@ func (r CodeBashingMockWrapper) GetCodeBashingLinks(queryID string, _ string) (*
2626
return &ret, nil, nil
2727
}
2828

29-
func (r CodeBashingMockWrapper) GetCodeBashingURL(field string) (
30-
string, error,
31-
) {
29+
func (r CodeBashingMockWrapper) GetCodeBashingURL(_ string) (string, error) {
3230
return "MOCK", nil
3331
}
3432

35-
func (r CodeBashingMockWrapper) BuildCodeBashingParams(wrappers.CodeBashingParamsCollection) (map[string]string, error) {
33+
func (r CodeBashingMockWrapper) BuildCodeBashingParams(_ wrappers.CodeBashingParamsCollection) (map[string]string, error) {
3634
return nil, nil
3735
}

0 commit comments

Comments
 (0)