@@ -18,7 +18,7 @@ class MigrateCommandTest extends BaseTestCase
18
18
*/
19
19
public function testMigrateToLatest (): void
20
20
{
21
- $ this ->executeCommand ('phpcr_migrations.command.migrate ' , array () );
21
+ $ this ->executeCommand ('phpcr_migrations.command.migrate ' , [] );
22
22
23
23
$ versionNodes = $ this ->session ->getNode ('/jcr:migrations ' )->getNodes ();
24
24
$ this ->assertCount (5 , $ versionNodes );
@@ -29,7 +29,7 @@ public function testMigrateToLatest(): void
29
29
*/
30
30
public function testUpgradeTo (): void
31
31
{
32
- $ tester = $ this ->executeCommand ('phpcr_migrations.command.migrate ' , array ( 'to ' => '201401011300 ' ) );
32
+ $ tester = $ this ->executeCommand ('phpcr_migrations.command.migrate ' , [ 'to ' => '201401011300 ' ] );
33
33
$ display = $ tester ->getDisplay ();
34
34
35
35
$ this ->assertStringContainsString ('Upgrading 1 version ' , $ display );
@@ -43,8 +43,8 @@ public function testUpgradeTo(): void
43
43
*/
44
44
public function testUpgradeRevertTo (): void
45
45
{
46
- $ this ->executeCommand ('phpcr_migrations.command.migrate ' , array () );
47
- $ tester = $ this ->executeCommand ('phpcr_migrations.command.migrate ' , array ( 'to ' => '201501011200 ' ) );
46
+ $ this ->executeCommand ('phpcr_migrations.command.migrate ' , [] );
47
+ $ tester = $ this ->executeCommand ('phpcr_migrations.command.migrate ' , [ 'to ' => '201501011200 ' ] );
48
48
$ display = $ tester ->getDisplay ();
49
49
50
50
$ this ->assertStringContainsString ('Reverting 3 version ' , $ display );
0 commit comments