Skip to content

Commit

Permalink
Fixing unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
Ark2307 committed Oct 14, 2024
1 parent b850a03 commit 82eccfa
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 82eccfa

Please sign in to comment.