diff options
author | diosmosis <benakamoorthi@fastmail.fm> | 2014-07-05 10:40:25 +0400 |
---|---|---|
committer | diosmosis <benakamoorthi@fastmail.fm> | 2014-07-05 10:40:25 +0400 |
commit | 4e765926c005b589218625ce75afdaa3decf358d (patch) | |
tree | 93bbc08e4abd7659e62ea667daa3fd7796dd0b49 | |
parent | b308de6bf58d700e7aae44bae90458f5b1480c6a (diff) |
Fixing UI tests.
-rw-r--r-- | plugins/DBStats/tests/Mocks/MockDataAccess.php | 6 | ||||
m--------- | tests/PHPUnit/UI | 0 |
2 files changed, 3 insertions, 3 deletions
diff --git a/plugins/DBStats/tests/Mocks/MockDataAccess.php b/plugins/DBStats/tests/Mocks/MockDataAccess.php index ee2a00f299..a3b32cefdd 100644 --- a/plugins/DBStats/tests/Mocks/MockDataAccess.php +++ b/plugins/DBStats/tests/Mocks/MockDataAccess.php @@ -120,9 +120,9 @@ class MockDataAccess public function getTableNameKey($tableName) { $result = Common::unprefixTable($tableName); - if (strpos($tableName, "archive_numeric")) { + if (strpos($tableName, "archive_numeric") !== false) { $result = "archive_numeric"; - } else if (strpos($tableName, "archive_blob")) { + } else if (strpos($tableName, "archive_blob") !== false) { $result = "archive_blob"; } return $result; @@ -130,7 +130,7 @@ class MockDataAccess public function getRowCountsByArchiveName($tableName, $extraCols) { - if (strpos($tableName, "achive_numeric")) { + if (strpos($tableName, "achive_numeric") !== false) { return self::$numericRowCountsByArchiveName; } else { return self::$blobRowCountsByArchiveName; diff --git a/tests/PHPUnit/UI b/tests/PHPUnit/UI -Subproject 206e7bffb156f231b437bbee9a66f9770105371 +Subproject 21d35de20f8855386315e7830ddb49cd1e05b4d |