summaryrefslogtreecommitdiffstats
path: root/tests/Components/ReferenceTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Components/ReferenceTest.php')
-rw-r--r--tests/Components/ReferenceTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/Components/ReferenceTest.php b/tests/Components/ReferenceTest.php
index dc142fe..178776c 100644
--- a/tests/Components/ReferenceTest.php
+++ b/tests/Components/ReferenceTest.php
@@ -13,12 +13,12 @@ class ReferenceTest extends TestCase
{
$component = Reference::parse(new Parser(), $this->getTokensList('tbl (id)'));
$this->assertEquals('tbl', $component->table->table);
- $this->assertEquals(array('id'), $component->columns);
+ $this->assertEquals(['id'], $component->columns);
}
public function testBuild()
{
- $component = new Reference(new Expression('`tbl`'), array('id'));
+ $component = new Reference(new Expression('`tbl`'), ['id']);
$this->assertEquals('`tbl` (`id`)', Reference::build($component));
}
}