summaryrefslogtreecommitdiffstats
path: root/tests/lib/dbschema.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/dbschema.php')
-rw-r--r--tests/lib/dbschema.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/dbschema.php b/tests/lib/dbschema.php
index 4796ada6921..cd408160afb 100644
--- a/tests/lib/dbschema.php
+++ b/tests/lib/dbschema.php
@@ -93,7 +93,7 @@ class Test_DBSchema extends UnitTestCase {
$sql = "SELECT tablename AS table_name, schemaname AS schema_name "
. "FROM pg_tables WHERE schemaname NOT LIKE 'pg_%' "
. "AND schemaname != 'information_schema' "
- . "AND tablename == '".$table."'";
+ . "AND tablename = '".$table."'";
$query = OC_DB::prepare($sql);
$result = $query->execute(array());
$exists = $result && $result->fetchOne();