Skip to content
Extraits de code Groupes Projets
Valider 4e765926 rédigé par diosmosis's avatar diosmosis
Parcourir les fichiers

Fixing UI tests.

parent b308de6b
Branches
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -120,9 +120,9 @@ class MockDataAccess ...@@ -120,9 +120,9 @@ class MockDataAccess
public function getTableNameKey($tableName) public function getTableNameKey($tableName)
{ {
$result = Common::unprefixTable($tableName); $result = Common::unprefixTable($tableName);
if (strpos($tableName, "archive_numeric")) { if (strpos($tableName, "archive_numeric") !== false) {
$result = "archive_numeric"; $result = "archive_numeric";
} else if (strpos($tableName, "archive_blob")) { } else if (strpos($tableName, "archive_blob") !== false) {
$result = "archive_blob"; $result = "archive_blob";
} }
return $result; return $result;
...@@ -130,7 +130,7 @@ class MockDataAccess ...@@ -130,7 +130,7 @@ class MockDataAccess
public function getRowCountsByArchiveName($tableName, $extraCols) public function getRowCountsByArchiveName($tableName, $extraCols)
{ {
if (strpos($tableName, "achive_numeric")) { if (strpos($tableName, "achive_numeric") !== false) {
return self::$numericRowCountsByArchiveName; return self::$numericRowCountsByArchiveName;
} else { } else {
return self::$blobRowCountsByArchiveName; return self::$blobRowCountsByArchiveName;
......
Subproject commit 206e7bffb156f231b437bbee9a66f97701053712 Subproject commit 21d35de20f8855386315e7830ddb49cd1e05b4d5
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter