From 9f8536d0103da1ca432b5c645f710488b1f3ce83 Mon Sep 17 00:00:00 2001 From: szymonsztuka Date: Wed, 31 Jan 2018 12:32:51 +0000 Subject: [PATCH] Add 'Regulator' schema name to setup of database integration test of IRSDemoTest. (#427) --- .../src/integration-test/kotlin/net/corda/irs/IRSDemoTest.kt | 2 +- .../resources/database-scripts/azure-sql/master-user-setup.sql | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/samples/irs-demo/src/integration-test/kotlin/net/corda/irs/IRSDemoTest.kt b/samples/irs-demo/src/integration-test/kotlin/net/corda/irs/IRSDemoTest.kt index b36c9d7cc7..0a674c58d5 100644 --- a/samples/irs-demo/src/integration-test/kotlin/net/corda/irs/IRSDemoTest.kt +++ b/samples/irs-demo/src/integration-test/kotlin/net/corda/irs/IRSDemoTest.kt @@ -47,7 +47,7 @@ class IRSDemoTest : IntegrationTest() { @ClassRule @JvmField val databaseSchemas = IntegrationTestSchemas(DUMMY_BANK_A_NAME.toDatabaseSchemaName(), DUMMY_BANK_B_NAME.toDatabaseSchemaName(), - DUMMY_NOTARY_NAME.toDatabaseSchemaName()) + DUMMY_NOTARY_NAME.toDatabaseSchemaName(), "Regulator") } private val rpcUsers = listOf(User("user", "password", setOf("ALL"))) diff --git a/testing/test-utils/src/main/resources/database-scripts/azure-sql/master-user-setup.sql b/testing/test-utils/src/main/resources/database-scripts/azure-sql/master-user-setup.sql index a259de7838..a87879128c 100644 --- a/testing/test-utils/src/main/resources/database-scripts/azure-sql/master-user-setup.sql +++ b/testing/test-utils/src/main/resources/database-scripts/azure-sql/master-user-setup.sql @@ -29,4 +29,5 @@ CREATE LOGIN node_9 WITH PASSWORD = 'yourStrong(!)Password'; CREATE LOGIN RAFTNotaryService_0 WITH PASSWORD = 'yourStrong(!)Password'; CREATE LOGIN RAFTNotaryService_1 WITH PASSWORD = 'yourStrong(!)Password'; CREATE LOGIN RAFTNotaryService_2 WITH PASSWORD = 'yourStrong(!)Password'; +CREATE LOGIN Regulator WITH PASSWORD = 'yourStrong(!)Password'; CREATE LOGIN RegulatorA WITH PASSWORD = 'yourStrong(!)Password'; \ No newline at end of file