mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Fixing TestsuiteShell test
This commit is contained in:
parent
1bbdefc4ad
commit
cbdafb3f3b
1 changed files with 2 additions and 2 deletions
|
@ -82,7 +82,7 @@ class TestsuiteShellTest extends CakeTestCase {
|
||||||
|
|
||||||
$this->Shell->expects($this->once())->method('run');
|
$this->Shell->expects($this->once())->method('run');
|
||||||
$this->Shell->available();
|
$this->Shell->available();
|
||||||
$this->assertEquals($this->Shell->args, array('core', 'Basics'));
|
$this->assertEquals($this->Shell->args, array('core', 'AllBehaviors'));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -97,7 +97,7 @@ class TestsuiteShellTest extends CakeTestCase {
|
||||||
|
|
||||||
$this->Shell->expects($this->once())->method('run')
|
$this->Shell->expects($this->once())->method('run')
|
||||||
->with(
|
->with(
|
||||||
array('app' => false, 'plugin' => null, 'core' => true, 'output' => 'text', 'case' => 'basics'),
|
array('app' => false, 'plugin' => null, 'core' => true, 'output' => 'text', 'case' => 'Basics'),
|
||||||
array('--filter', 'myFilter', '--colors', '--verbose')
|
array('--filter', 'myFilter', '--colors', '--verbose')
|
||||||
);
|
);
|
||||||
$this->Shell->main();
|
$this->Shell->main();
|
||||||
|
|
Loading…
Reference in a new issue