File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,6 @@ public function testInvocation()
16
16
17
17
$ invoker ->setCommand (new HelloCommand ($ receiver ));
18
18
$ invoker ->run ();
19
- $ this ->assertEquals ($ receiver ->getOutput (), ' Hello World ' );
19
+ $ this ->assertEquals (' Hello World ' , $ receiver ->getOutput ());
20
20
}
21
21
}
Original file line number Diff line number Diff line change @@ -17,17 +17,17 @@ public function testInvocation()
17
17
18
18
$ invoker ->setCommand (new HelloCommand ($ receiver ));
19
19
$ invoker ->run ();
20
- $ this ->assertEquals ($ receiver ->getOutput (), ' Hello World ' );
20
+ $ this ->assertEquals (' Hello World ' , $ receiver ->getOutput ());
21
21
22
22
$ messageDateCommand = new AddMessageDateCommand ($ receiver );
23
23
$ messageDateCommand ->execute ();
24
24
25
25
$ invoker ->run ();
26
- $ this ->assertEquals ($ receiver -> getOutput (), "Hello World \nHello World [ " .date ('Y-m-d ' ).'] ' );
26
+ $ this ->assertEquals ("Hello World \nHello World [ " .date ('Y-m-d ' ).'] ' , $ receiver -> getOutput () );
27
27
28
28
$ messageDateCommand ->undo ();
29
29
30
30
$ invoker ->run ();
31
- $ this ->assertEquals ($ receiver -> getOutput (), "Hello World \nHello World [ " .date ('Y-m-d ' )."] \nHello World " );
31
+ $ this ->assertEquals ("Hello World \nHello World [ " .date ('Y-m-d ' )."] \nHello World " , $ receiver -> getOutput () );
32
32
}
33
33
}
You can’t perform that action at this time.
0 commit comments