diff --git a/src/test/java/fr/insee/rmes/testcontainers/queries/sparql_queries/operations/series/OpSeriesQueriesTest.java b/src/test/java/fr/insee/rmes/testcontainers/queries/sparql_queries/operations/series/OpSeriesQueriesTest.java index 3aca76aa2..a98fd1d1c 100644 --- a/src/test/java/fr/insee/rmes/testcontainers/queries/sparql_queries/operations/series/OpSeriesQueriesTest.java +++ b/src/test/java/fr/insee/rmes/testcontainers/queries/sparql_queries/operations/series/OpSeriesQueriesTest.java @@ -122,13 +122,20 @@ void should_return_false_if_series_does_not_have_operation() throws RmesExceptio } @Test - void should_creators() throws RmesException { + void should_get_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_get_operations() throws RmesException { + OpSeriesQueries.setConfig(new ConfigStub()); + JSONArray operations = repositoryGestion.getResponseAsArray(OpSeriesQueries.getOperations("s1207")); + assertEquals(13, operations.length()); + } + @Test void should_return_all_series() throws Exception { OpSeriesQueries.setConfig(new ConfigStub());