Skip to content

Commit

Permalink
Merge pull request #1617 from akto-api-security/hotfix/fix_edit_attac…
Browse files Browse the repository at this point in the history
…ker_token

Fixing unit test
  • Loading branch information
ayushaga14 authored Oct 14, 2024
2 parents 00712ae + 82eccfa commit d6fd350
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -173,10 +173,10 @@ public void testTagsForCollections(){
collection5.setId(5);
collection5.setHostName("kubernetes-121212-akto.io");

assertEquals(ApiCollection.ENV_TYPE.STAGING, collection1.getEnvType());
assertEquals(ApiCollection.ENV_TYPE.STAGING, collection2.getEnvType());
assertNotEquals(ApiCollection.ENV_TYPE.STAGING, collection3.getEnvType());
assertEquals(ApiCollection.ENV_TYPE.STAGING, collection4.getEnvType());
assertEquals(ApiCollection.ENV_TYPE.STAGING, collection5.getEnvType());
assertEquals(ApiCollection.ENV_TYPE.STAGING.name().toString(), collection1.getEnvType());
assertEquals(ApiCollection.ENV_TYPE.STAGING.name().toString(), collection2.getEnvType());
assertNotEquals(ApiCollection.ENV_TYPE.STAGING.name().toString(), collection3.getEnvType());
assertEquals(ApiCollection.ENV_TYPE.STAGING.name().toString(), collection4.getEnvType());
assertEquals(ApiCollection.ENV_TYPE.STAGING.name().toString(), collection5.getEnvType());
}
}

0 comments on commit d6fd350

Please sign in to comment.