diff --git a/cypher/refcard-tests/src/test/scala/org/neo4j/cypher/docgen/refcard/ListPrivilegeTest.scala b/cypher/refcard-tests/src/test/scala/org/neo4j/cypher/docgen/refcard/ListPrivilegeTest.scala index 006c5eee69..9d527b4e8a 100644 --- a/cypher/refcard-tests/src/test/scala/org/neo4j/cypher/docgen/refcard/ListPrivilegeTest.scala +++ b/cypher/refcard-tests/src/test/scala/org/neo4j/cypher/docgen/refcard/ListPrivilegeTest.scala @@ -28,7 +28,7 @@ class ListPrivilegeTest extends AdministrationCommandTestBase { tx.execute("CREATE ROLE my_second_role") tx.execute("GRANT IMMUTABLE ACCESS ON DATABASE * TO my_role") tx.execute("GRANT TRAVERSE ON GRAPH * NODES * TO my_second_role") - tx.execute("CREATE USER alice SET PASSWORD 'secret'") + tx.execute("CREATE USER alice SET PASSWORD 'secret00'") tx.execute("GRANT ROLE my_role TO alice") } diff --git a/cypher/refcard-tests/src/test/scala/org/neo4j/cypher/docgen/refcard/RoleManagementTest.scala b/cypher/refcard-tests/src/test/scala/org/neo4j/cypher/docgen/refcard/RoleManagementTest.scala index 12590a862b..bf264375d2 100644 --- a/cypher/refcard-tests/src/test/scala/org/neo4j/cypher/docgen/refcard/RoleManagementTest.scala +++ b/cypher/refcard-tests/src/test/scala/org/neo4j/cypher/docgen/refcard/RoleManagementTest.scala @@ -24,7 +24,7 @@ class RoleManagementTest extends AdministrationCommandTestBase { override val linkId = "administration/security/users-and-roles/#administration-security-roles" private def setup() = graph.withTx { tx => - tx.execute("CREATE USER alice SET PASSWORD 'secret' CHANGE NOT REQUIRED") + tx.execute("CREATE USER alice SET PASSWORD 'secret00' CHANGE NOT REQUIRED") } def text: String = { diff --git a/cypher/refcard-tests/src/test/scala/org/neo4j/cypher/docgen/refcard/UserManagementTest.scala b/cypher/refcard-tests/src/test/scala/org/neo4j/cypher/docgen/refcard/UserManagementTest.scala index ed4efcc463..af6c82f8a9 100644 --- a/cypher/refcard-tests/src/test/scala/org/neo4j/cypher/docgen/refcard/UserManagementTest.scala +++ b/cypher/refcard-tests/src/test/scala/org/neo4j/cypher/docgen/refcard/UserManagementTest.scala @@ -26,7 +26,7 @@ class UserManagementTest extends AdministrationCommandTestBase { override def parameters(name: String): Map[String, Any] = name match { case "parameters=create" => - Map("password" -> "secret") + Map("password" -> "secret00") case "parameters=update" => Map("password" -> "new_secret") case _ => diff --git a/server-docs/src/test/java/org/neo4j/doc/server/rest/security/AuthenticationDocIT.java b/server-docs/src/test/java/org/neo4j/doc/server/rest/security/AuthenticationDocIT.java index 3580be132a..4ecd5b6958 100644 --- a/server-docs/src/test/java/org/neo4j/doc/server/rest/security/AuthenticationDocIT.java +++ b/server-docs/src/test/java/org/neo4j/doc/server/rest/security/AuthenticationDocIT.java @@ -77,7 +77,7 @@ void successful_authentication() throws JsonParseException, IOException { // Given startServerWithConfiguredUser(); - HTTP.Response response = HTTP.withBasicAuth("neo4j", "secret").POST(txCommitURL("system"), query("SHOW USERS")); + HTTP.Response response = HTTP.withBasicAuth("neo4j", "secret00").POST(txCommitURL("system"), query("SHOW USERS")); assertThat(response.status()).isEqualTo(200); @@ -134,13 +134,13 @@ void password_change_required() throws JsonParseException, IOException { // When // Changing the user password HTTP.Response response = - HTTP.withBasicAuth("neo4j", "neo4j").POST(txCommitURL("system"), query("ALTER CURRENT USER SET PASSWORD FROM 'neo4j' TO 'secret'")); + HTTP.withBasicAuth("neo4j", "neo4j").POST(txCommitURL("system"), query("ALTER CURRENT USER SET PASSWORD FROM 'neo4j' TO 'secret00'")); // Then assertThat(response.status()).isEqualTo(200); assertThat(response.get("errors")).as("Should have no errors").isEmpty(); // When - HTTP.Response responseAfterPasswordChange = HTTP.withBasicAuth("neo4j", "secret").POST(txCommitURL("system"), query("SHOW USERS")); + HTTP.Response responseAfterPasswordChange = HTTP.withBasicAuth("neo4j", "secret00").POST(txCommitURL("system"), query("SHOW USERS")); // Then assertThat(responseAfterPasswordChange.status()).isEqualTo(200); @@ -184,7 +184,7 @@ protected void startServerWithConfiguredUser() throws IOException { setupGen(); // Set the password HTTP.Response post = HTTP.withBasicAuth("neo4j", "neo4j").POST(txCommitURL("system"), - query("ALTER CURRENT USER SET PASSWORD FROM 'neo4j' TO 'secret'")); + query("ALTER CURRENT USER SET PASSWORD FROM 'neo4j' TO 'secret00'")); assertEquals(200, post.status()); }