diff --git a/plugins/DBStats/tests/Mocks/MockDataAccess.php b/plugins/DBStats/tests/Mocks/MockDataAccess.php index ee2a00f2993112bc17982e0a3c433879d5cfa4dc..a3b32cefddaf2c3578ab588a32adb01dfb9a7a9d 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 index 206e7bffb156f231b437bbee9a66f97701053712..21d35de20f8855386315e7830ddb49cd1e05b4d5 160000 --- a/tests/PHPUnit/UI +++ b/tests/PHPUnit/UI @@ -1 +1 @@ -Subproject commit 206e7bffb156f231b437bbee9a66f97701053712 +Subproject commit 21d35de20f8855386315e7830ddb49cd1e05b4d5