Skip to content

Commit 353bcf7

Browse files
committed
ITT: Collection asserts renamed.
1 parent 9f5d73e commit 353bcf7

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ Provides Laravel-specific testing helpers and asserts.
3333
> New asserts are always adding. Feel free to contribute.
3434
3535
- [CollectionAsserts](#collectionasserts)
36-
- [assertEqualCollections](#assertequalcollections)
37-
- [assertNotEqualCollections](#assertnotequalcollections)
36+
- [assertCollectionsEqual](#assertcollectionsequal)
37+
- [assertCollectionsNotEqual](#assertcollectionsnotequal)
3838
- [LogFileAsserts](#logfileasserts)
3939
- [assertLogFileExists](#assertlogfileexists)
4040
- [assertLogFileNotExists](#assertlogfilenotexists)
@@ -83,20 +83,20 @@ $command = $this->runConsoleCommand(MyCommand::class);
8383

8484
### CollectionAsserts
8585

86-
#### `assertEqualCollections()`
86+
#### `assertCollectionsEqual()`
8787

8888
Checks if passed collections are equal according to the specified key:
8989

9090
```php
91-
$this->assertEqualCollections($collection1, $collection2, 'id');
91+
$this->assertCollectionsEqual($collection1, $collection2, 'id');
9292
```
9393

94-
#### `assertNotEqualCollections()`
94+
#### `assertCollectionsNotEqual()`
9595

9696
Checks if passed collections are not equal according to the specified key:
9797

9898
```php
99-
$this->assertNotEqualCollections($collection1, $collection2, 'id');
99+
$this->assertCollectionsNotEqual($collection1, $collection2, 'id');
100100
```
101101

102102
### LogFileAsserts

0 commit comments

Comments
 (0)