Skip to content

Commit

Permalink
ITT: Service provider asserts readme info added.
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitry-ivanov committed Dec 10, 2016
1 parent b809e6c commit 21f76fc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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()`
Expand All @@ -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');
```
4 changes: 2 additions & 2 deletions tests/Asserts/ServiceProviderAssertsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand All @@ -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');
}
}

0 comments on commit 21f76fc

Please sign in to comment.