Skip to content

Commit 92ac444

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

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

internal/wrappers/mock/codebashing-mock.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,15 @@
11
package mock
22

33
import (
4-
commonParams "github.com/checkmarx/ast-cli/internal/params"
54
"github.com/checkmarx/ast-cli/internal/wrappers"
65
)
76

87
type CodeBashingMockWrapper struct{}
98

10-
func (r CodeBashingMockWrapper) GetCodeBashingLinks(queryID, codeBashingURL string) (*[]wrappers.CodeBashingCollection, *wrappers.WebError, error) {
9+
func (r CodeBashingMockWrapper) GetCodeBashingLinks(queryID string, _ string) (*[]wrappers.CodeBashingCollection, *wrappers.WebError, error) {
1110
if queryID == "" {
1211
return nil, &wrappers.WebError{Message: "Cannot GET /lessons/mapping/"}, nil
1312
}
14-
codeBashingURL = commonParams.CodeBashingPathEnv
1513

1614
if queryID == "11666704984804998184" {
1715
collection := &wrappers.CodeBashingCollection{

0 commit comments

Comments
 (0)