Skip to content

Commit ef845ac

Browse files
committed
IHF: Typo fixed.
1 parent 01bc332 commit ef845ac

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

tests/classes/Artisan/CommandTest.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public function it_has_static_constructor_named_factory()
4747
/** @test */
4848
public function it_can_run_command_in_background()
4949
{
50-
$this->shouldRecieveExecCallOnceWith('(php artisan test:command) > /dev/null 2>&1 &');
50+
$this->shouldReceiveExecCallOnceWith('(php artisan test:command) > /dev/null 2>&1 &');
5151

5252
$command = Command::factory('test:command');
5353
$command->runInBackground();
@@ -56,7 +56,7 @@ public function it_can_run_command_in_background()
5656
/** @test */
5757
public function run_in_background_supports_before_subcommand()
5858
{
59-
$this->shouldRecieveExecCallOnceWith('(before command && php artisan test:command) > /dev/null 2>&1 &');
59+
$this->shouldReceiveExecCallOnceWith('(before command && php artisan test:command) > /dev/null 2>&1 &');
6060

6161
$command = Command::factory('test:command', 'before command');
6262
$command->runInBackground();
@@ -65,7 +65,7 @@ public function run_in_background_supports_before_subcommand()
6565
/** @test */
6666
public function run_in_background_supports_after_subcommand()
6767
{
68-
$this->shouldRecieveExecCallOnceWith('(php artisan test:command && after command) > /dev/null 2>&1 &');
68+
$this->shouldReceiveExecCallOnceWith('(php artisan test:command && after command) > /dev/null 2>&1 &');
6969

7070
$command = Command::factory('test:command', null, 'after command');
7171
$command->runInBackground();
@@ -74,7 +74,7 @@ public function run_in_background_supports_after_subcommand()
7474
/** @test */
7575
public function run_in_background_supports_before_and_after_subcommands_together()
7676
{
77-
$this->shouldRecieveExecCallOnceWith('(before && php artisan test:command && after) > /dev/null 2>&1 &');
77+
$this->shouldReceiveExecCallOnceWith('(before && php artisan test:command && after) > /dev/null 2>&1 &');
7878

7979
$command = Command::factory('test:command', 'before', 'after');
8080
$command->runInBackground();
@@ -87,7 +87,7 @@ public function run_in_background_supports_before_and_after_subcommands_together
8787
*/
8888
public function it_adds_php_option_for_hhvm()
8989
{
90-
$this->shouldRecieveExecCallOnceWith('(before && php --php artisan test:command && after) > /dev/null 2>&1 &');
90+
$this->shouldReceiveExecCallOnceWith('(before && php --php artisan test:command && after) > /dev/null 2>&1 &');
9191

9292
define('HHVM_VERSION', true);
9393
$command = Command::factory('test:command', 'before', 'after');
@@ -101,14 +101,14 @@ public function it_adds_php_option_for_hhvm()
101101
*/
102102
public function it_supports_overriding_of_artisan_binary_through_constant()
103103
{
104-
$this->shouldRecieveExecCallOnceWith('(before && php custom-artisan test:command && after) > /dev/null 2>&1 &');
104+
$this->shouldReceiveExecCallOnceWith('(before && php custom-artisan test:command && after) > /dev/null 2>&1 &');
105105

106106
define('ARTISAN_BINARY', 'custom-artisan');
107107
$command = Command::factory('test:command', 'before', 'after');
108108
$command->runInBackground();
109109
}
110110

111-
private function shouldRecieveExecCallOnceWith($with)
111+
private function shouldReceiveExecCallOnceWith($with)
112112
{
113113
self::$functions->shouldReceive('exec')->with($with)->once();
114114
}

0 commit comments

Comments
 (0)