Commit 540f6ebe authored by Marcin Siodelski's avatar Marcin Siodelski
Browse files

[4489] Using keatest_readonly db user for read only mode tests.

parent 4a8efcb4
...@@ -534,7 +534,7 @@ GenericHostDataSourceTest::testReadOnlyDatabase(const char* valid_db_type) { ...@@ -534,7 +534,7 @@ GenericHostDataSourceTest::testReadOnlyDatabase(const char* valid_db_type) {
HostDataSourceFactory::create(connectionString(valid_db_type, HostDataSourceFactory::create(connectionString(valid_db_type,
VALID_NAME, VALID_NAME,
VALID_HOST, VALID_HOST,
VALID_USER, VALID_READONLY_USER,
VALID_PASSWORD, VALID_PASSWORD,
VALID_READONLY_DB)); VALID_READONLY_DB));
......
...@@ -25,6 +25,7 @@ const char* INVALID_NAME = "name=invalidname"; ...@@ -25,6 +25,7 @@ const char* INVALID_NAME = "name=invalidname";
const char* VALID_HOST = "host=localhost"; const char* VALID_HOST = "host=localhost";
const char* INVALID_HOST = "host=invalidhost"; const char* INVALID_HOST = "host=invalidhost";
const char* VALID_USER = "user=keatest"; const char* VALID_USER = "user=keatest";
const char* VALID_READONLY_USER = "user=keatest_readonly";
const char* INVALID_USER = "user=invaliduser"; const char* INVALID_USER = "user=invaliduser";
const char* VALID_PASSWORD = "password=keatest"; const char* VALID_PASSWORD = "password=keatest";
const char* INVALID_PASSWORD = "password=invalid"; const char* INVALID_PASSWORD = "password=invalid";
......
...@@ -21,6 +21,7 @@ extern const char* INVALID_NAME; ...@@ -21,6 +21,7 @@ extern const char* INVALID_NAME;
extern const char* VALID_HOST; extern const char* VALID_HOST;
extern const char* INVALID_HOST; extern const char* INVALID_HOST;
extern const char* VALID_USER; extern const char* VALID_USER;
extern const char* VALID_READONLY_USER;
extern const char* INVALID_USER; extern const char* INVALID_USER;
extern const char* VALID_PASSWORD; extern const char* VALID_PASSWORD;
extern const char* INVALID_PASSWORD; extern const char* INVALID_PASSWORD;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment