Skip to content

Commit

Permalink
Use correct assignments syntax in test
Browse files Browse the repository at this point in the history
  • Loading branch information
tienvx committed Jul 12, 2022
1 parent 763ca30 commit 06ad0b9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/Model/Model/RevisionTest.php
Expand Up @@ -70,7 +70,7 @@ protected function setUp(): void
$t1->setLabel('t1');
$t1->setFromPlaces([1]);
$t1->setToPlaces([1, 2]);
$t1->setExpression('{count: count + 1}');
$t1->setExpression('count = count + 1');
$t2->setLabel('');
$t2->setFromPlaces([1, 2]);
$t2->setToPlaces([]);
Expand Down Expand Up @@ -144,7 +144,7 @@ public function testToArray(): void
0 => [
'label' => 't1',
'guard' => null,
'expression' => '{count: count + 1}',
'expression' => 'count = count + 1',
'fromPlaces' => [
0 => 1,
],
Expand Down

0 comments on commit 06ad0b9

Please sign in to comment.