Skip to content

Commit

Permalink
feat: add test container test
Browse files Browse the repository at this point in the history
  • Loading branch information
EmmanuelDemey committed Nov 14, 2024
1 parent 05c85b7 commit b63ef3b
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,14 @@ void should_return_false_if_series_does_not_have_operation() throws RmesExceptio
assertFalse(hasSims);
}

@Test
void should_creators() throws RmesException {
OpSeriesQueries.setConfig(new ConfigStub());
JSONArray creators = repositoryGestion.getResponseAsArray(OpSeriesQueries.getCreatorsById("s1236"));
assertEquals(1, creators.length());
assertEquals("stamp", creators.getJSONObject(0).getString("creators"));
}

@Test
void should_return_all_series() throws Exception {
OpSeriesQueries.setConfig(new ConfigStub());
Expand Down

0 comments on commit b63ef3b

Please sign in to comment.