88 "github.com/checkmarx/ast-cli/internal/params"
99 "github.com/checkmarx/ast-cli/internal/wrappers"
1010 "github.com/checkmarx/ast-cli/internal/wrappers/mock"
11- "github.com/stretchr/testify/require "
11+ "github.com/stretchr/testify/assert "
1212)
1313
1414func TestLicenseCommandDefaultListFormat (t * testing.T ) {
@@ -26,15 +26,15 @@ func TestLicenseCommandDefaultListFormat(t *testing.T) {
2626 cmd .SetOut (& buf )
2727
2828 err := cmd .Execute ()
29- require .NoError (t , err )
29+ assert .NoError (t , err )
3030
3131 // Parse JSON output
3232 var result wrappers.JwtClaims
3333 err = json .Unmarshal (buf .Bytes (), & result )
34- require .NoError (t , err )
34+ assert .NoError (t , err )
3535
3636 // Verify structured output
37- require .Equal (t , "test-tenant" , result .TenantName )
38- require .Equal (t , false , result .DastEnabled )
39- require .ElementsMatch (t , result . AllowedEngines , []string {"sast" , "sca" })
37+ assert .Equal (t , "test-tenant" , result .TenantName )
38+ assert .Equal (t , false , result .DastEnabled )
39+ assert .ElementsMatch (t , []string {"sast" , "sca" }, result . AllowedEngines )
4040}
0 commit comments