Skip to content
Snippets Groups Projects
Commit 77090845 authored by Eduard Moraru's avatar Eduard Moraru
Browse files

[tests] Fixed tests.

parent 7db1cf1c
No related branches found
No related tags found
No related merge requests found
......@@ -110,8 +110,8 @@ public void testAddExtension() throws Exception
// Create extension
getUtil().createUserAndLogin(USER_CREDENTIALS.getUserName(), USER_CREDENTIALS.getPassword(), null,
"first_name", "User", "last_name", "Name");
getUtil().createUserAndLogin(USER_CREDENTIALS.getUserName(), USER_CREDENTIALS.getPassword(), "first_name",
"User", "last_name", "Name");
ExtensionsPage extensionsPage = ExtensionsPage.gotoPage();
......
......@@ -48,6 +48,10 @@ public SolrTestUtils(TestUtils testUtils)
private void initService()
{
if (!this.testUtils.pageExists(SOLRSERVICE_SPACE, SOLRSERVICE_PAGE)) {
// Make sure we create this page with SuperAdmin rights so that it has SR and PR when executed by tests.
testUtils.loginAsSuperAdmin();
// Create the utility page.
this.testUtils.createPage(SOLRSERVICE_SPACE, SOLRSERVICE_PAGE,
"{{velocity}}$services.solr.queueSize{{/velocity}}", null);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment