From 21f76fc897f5be1de74a3d808151641fe88ded7d Mon Sep 17 00:00:00 2001 From: Dmitry Ivanov Date: Sat, 10 Dec 2016 21:00:49 +0200 Subject: [PATCH] ITT: Service provider asserts readme info added. --- README.md | 4 ++-- tests/Asserts/ServiceProviderAssertsTest.php | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index e1f84ee..a430453 100644 --- a/README.md +++ b/README.md @@ -297,7 +297,7 @@ $this->assertAliasRegistered('Acme\Alias\Post'); Checks that specified alias was not registered by alias loader: ```php -$this->assertAliasNotRegistered('Acme\Alias\Unexisting'); +$this->assertAliasNotRegistered('Acme\Alias\Fake'); ``` #### `assertCommandRegistered()` @@ -313,5 +313,5 @@ $this->assertCommandRegistered('do-something'); Checks that specified command was not registered by service provider: ```php -$this->assertCommandNotRegistered('unexisting'); +$this->assertCommandNotRegistered('fake'); ``` diff --git a/tests/Asserts/ServiceProviderAssertsTest.php b/tests/Asserts/ServiceProviderAssertsTest.php index 899a483..701bf17 100644 --- a/tests/Asserts/ServiceProviderAssertsTest.php +++ b/tests/Asserts/ServiceProviderAssertsTest.php @@ -20,7 +20,7 @@ public function it_has_alias_registered_assertion() /** @test */ public function it_has_alias_not_registered_assertion() { - $this->assertAliasNotRegistered('Acme\Alias\Unexisting'); + $this->assertAliasNotRegistered('Acme\Alias\Fake'); } /** @test */ @@ -32,6 +32,6 @@ public function it_has_command_registered_assertion() /** @test */ public function it_has_command_not_registered_assertion() { - $this->assertCommandNotRegistered('unexisting'); + $this->assertCommandNotRegistered('fake'); } }