Skip to content

Commit 818ad69

Browse files
fix lint issue
1 parent 3777af5 commit 818ad69

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

internal/commands/result_test.go

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1633,13 +1633,12 @@ func Test_addPackageInformation_DependencyTypes(t *testing.T) {
16331633
func TestIgnorePolicyWithNoPermission(t *testing.T) {
16341634
policyResponseModel := wrappers.PolicyResponseModel{}
16351635
policyResponseModel.BreakBuild = false
1636-
policyResponseModel.Status = "COMPLETED"
16371636

16381637
policy := wrappers.Policy{}
1639-
policy.Name = "MOCK_NAME"
1638+
policy.Name = "MOCK_NAME1"
16401639
policy.RulesViolated = make([]string, 1)
16411640
policy.BreakBuild = true
1642-
policy.Description = "MOCK_DESC"
1641+
policy.Description = "MOCK_DESC1"
16431642
policy.Tags = make([]string, 0)
16441643

16451644
var policies []wrappers.Policy
@@ -1668,13 +1667,12 @@ func TestIgnorePolicyWithNoPermission(t *testing.T) {
16681667
func TestIgnorePolicyWithPermission(t *testing.T) {
16691668
policyResponseModel := wrappers.PolicyResponseModel{}
16701669
policyResponseModel.BreakBuild = false
1671-
policyResponseModel.Status = "COMPLETED"
16721670

16731671
policy := wrappers.Policy{}
1674-
policy.Name = "MOCK_NAME"
1672+
policy.Name = "MOCK_NAME2"
16751673
policy.RulesViolated = make([]string, 1)
16761674
policy.BreakBuild = true
1677-
policy.Description = "MOCK_DESC"
1675+
policy.Description = "MOCK_DESC2"
16781676
policy.Tags = make([]string, 0)
16791677

16801678
var policies []wrappers.Policy

0 commit comments

Comments
 (0)