Commit 57b69407 authored by Noel Alonso's avatar Noel Alonso
Browse files

Arregla test para adaptar respuesta de facets

parent 0c2d1466
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -263,11 +263,11 @@ public class LayerControllerTest extends DocumentationViewBaseTest {
				.andExpect(jsonPath("$.body._aggs.protocols", notNullValue()))
				.andExpect(jsonPath("$.body._aggs.themeInspire", notNullValue()))
				.andExpect(jsonPath("$.body._aggs.keywords", notNullValue()))
				.andExpect(jsonPath("$.body._aggs.protocols.sterms#protocols", notNullValue()))
				.andExpect(jsonPath("$.body._aggs.protocols.sterms#protocols.buckets", notNullValue()))
				.andExpect(jsonPath("$.body._aggs.protocols.protocols", notNullValue()))
				.andExpect(jsonPath("$.body._aggs.protocols.protocols.buckets", notNullValue()))
				.andExpect(jsonPath("$.body._aggs.themeInspire.buckets", notNullValue()))
				.andExpect(jsonPath("$.body._aggs.keywords.buckets", notNullValue()))
				.andExpect(jsonPath("$.body._aggs.protocols.sterms#protocols.buckets.length()", is(1)))
				.andExpect(jsonPath("$.body._aggs.protocols.protocols.buckets.length()", is(1)))
				.andExpect(jsonPath("$.body._aggs.themeInspire.buckets.length()", is(1)))
				.andExpect(jsonPath("$.body._aggs.keywords.buckets.length()", is(1)));