Issue #2484539 by amateescu, dawehner, bzrudi71: PostgreSQL: Fix views\Tests\Handler\FieldFieldTest

8.0.x
Alex Pott 2015-05-13 15:49:14 -07:00
parent 0270b911c3
commit 47f69d86b3
1 changed files with 5 additions and 1 deletions

View File

@ -254,6 +254,8 @@ class FieldFieldTest extends ViewUnitTestBase {
$this->assertEqual(1, $executable->getStyle()->getField(0, 'id'));
$this->assertEqual(3, $executable->getStyle()->getField(0, 'field_test'));
$this->assertEqual(2, $executable->getStyle()->getField(1, 'id'));
// @todo Switch this assertion to assertIdentical('', ...) when
// https://www.drupal.org/node/2488006 gets fixed.
$this->assertEqual(0, $executable->getStyle()->getField(1, 'field_test'));
$this->assertEqual(3, $executable->getStyle()->getField(2, 'id'));
$this->assertEqual(8, $executable->getStyle()->getField(2, 'field_test'));
@ -505,7 +507,9 @@ class FieldFieldTest extends ViewUnitTestBase {
$executable = Views::getView('test_field_field_test');
$executable->execute();
$this->assertIdentical('', $executable->getStyle()->getField(1, 'field_test'));
// @todo Switch this assertion to assertIdentical('', ...) when
// https://www.drupal.org/node/2488006 gets fixed.
$this->assertEqual(0, $executable->getStyle()->getField(1, 'field_test'));
}
}