mirror of
https://github.com/Alfresco/SearchServices.git
synced 2025-09-17 14:21:20 +00:00
add another debugging query
This commit is contained in:
@@ -105,6 +105,12 @@ public class SearchCasesTest extends AbstractSearchServicesE2ETest
|
|||||||
@Test(priority=5)
|
@Test(priority=5)
|
||||||
public void testSearchUpdateContent()
|
public void testSearchUpdateContent()
|
||||||
{
|
{
|
||||||
|
//TODO: remove - temp check for debugging
|
||||||
|
SearchResponse responsePB = queryAsUser(testUser, "cm:content:purpleisnotthereyet");
|
||||||
|
restClient.assertStatusCodeIs(HttpStatus.OK);
|
||||||
|
String beforeAnything = "purple entries: " + responsePB.getEntries().size() + " purple entries: " + responsePB.getEntries().size();
|
||||||
|
Assert.assertEquals(beforeAnything, "purpleisnotthereyet entries: 0");
|
||||||
|
|
||||||
SearchResponse response4 = queryAsUser(testUser, "cm:content:brown");
|
SearchResponse response4 = queryAsUser(testUser, "cm:content:brown");
|
||||||
restClient.assertStatusCodeIs(HttpStatus.OK);
|
restClient.assertStatusCodeIs(HttpStatus.OK);
|
||||||
response4.assertThat().entriesListIsNotEmpty();
|
response4.assertThat().entriesListIsNotEmpty();
|
||||||
|
Reference in New Issue
Block a user