Search-752, updated to use correct jdbc setup

This commit is contained in:
Michael
2018-05-22 11:36:20 +01:00
parent 3ced03df47
commit 07994d09ad
@@ -58,11 +58,13 @@ public class SearchSQLTest extends AbstractSearchTest
private Statement stmt;
private ResultSet rs;
List<String> sites;
@BeforeClass(alwaysRun = true)
public void dataPreparation() throws Exception
{
connectionString = properties.getFullServerUrl() + "/alfresco/api/-default-/public/search/versions/1/sql";
connectionString = String.format("jdbc:alfresco://%s:%s?collection=alfresco",
properties.getServer(),
properties.getPort());
//Prepare users, one with full access and one with limited access.
adminUser = dataUser.getAdminUser();
userModel = dataUser.createRandomTestUser("UserSearch");