diff options
Diffstat (limited to 'tests/Components/ReferenceTest.php')
-rw-r--r-- | tests/Components/ReferenceTest.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/Components/ReferenceTest.php b/tests/Components/ReferenceTest.php index 19768c7..898362a 100644 --- a/tests/Components/ReferenceTest.php +++ b/tests/Components/ReferenceTest.php @@ -14,12 +14,12 @@ class ReferenceTest extends TestCase { $component = Reference::parse(new Parser(), $this->getTokensList('tbl (id)')); $this->assertEquals('tbl', $component->table->table); - $this->assertEquals(['id'], $component->columns); + $this->assertEquals(array('id'), $component->columns); } public function testBuild() { - $component = new Reference(new Expression('`tbl`'), ['id']); + $component = new Reference(new Expression('`tbl`'), array('id')); $this->assertEquals('`tbl` (`id`)', Reference::build($component)); } } |