Issue #2443669 by bzrudi71: PostgreSQL: Fix node\Tests\NodeTranslationUITest

8.0.x
Nathaniel Catchpole 2015-03-06 10:44:34 +00:00
parent bed817c98e
commit 11fc96c26f
1 changed files with 1 additions and 1 deletions

View File

@ -209,7 +209,7 @@ class NodeTranslationUITest extends ContentTranslationUITest {
));
// Make sure that nothing was inserted into the {content_translation} table.
$rows = db_query('SELECT nid, count(nid) AS count FROM {node_field_data} WHERE type <> :type GROUP BY nid HAVING count >= 2', array(':type' => $this->bundle))->fetchAll();
$rows = db_query('SELECT nid, count(nid) AS count FROM {node_field_data} WHERE type <> :type GROUP BY nid HAVING count(nid) >= 2', array(':type' => $this->bundle))->fetchAll();
$this->assertEqual(0, count($rows));
// Ensure the translation tab is not accessible.