Skip to content

Commit

Permalink
Travis.ci ends up with differently ordered results than my computer d…
Browse files Browse the repository at this point in the history
…oes.
  • Loading branch information
markstory committed Apr 8, 2014
1 parent 02f66ed commit 33e1431
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions tests/TestCase/Console/Command/BakeShellTest.php
Expand Up @@ -106,9 +106,9 @@ public function testMain() {
$this->Shell->expects($this->at(0))
->method('out')
->with($this->stringContains('The following commands'));
$this->Shell->expects($this->at(4))
->method('out')
->with('behavior');

$this->Shell->expects($this->exactly(17))
->method('out');

$this->Shell->loadTasks();
$this->Shell->main();
Expand Down Expand Up @@ -149,6 +149,8 @@ public function testLoadTasksCoreAndApp() {
'View',
'Zerg',
];
sort($this->Shell->tasks);
sort($expected);
$this->assertEquals($expected, $this->Shell->tasks);
}

Expand Down

0 comments on commit 33e1431

Please sign in to comment.