Skip to content

Commit

Permalink
Merge branch 'master' into 9.x
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitry-ivanov committed Aug 21, 2022
2 parents 7b91ebf + bcccd30 commit 1221ca2
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 53 deletions.
12 changes: 0 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,6 @@ Laravel-specific Testing Helpers and Assertions.
- [assertDatabaseMissingTable](#assertdatabasemissingtable)
- [assertDatabaseHasMany](#assertdatabasehasmany)
- [assertDatabaseMissingMany](#assertdatabasemissingmany)
- [ExceptionAsserts](#exceptionasserts)
- [willSeeException](#willseeexception)
- [FilesystemAsserts](#filesystemasserts)
- [assertDirectoryEmpty](#assertdirectoryempty)
- [assertDirectoryNotEmpty](#assertdirectorynotempty)
Expand Down Expand Up @@ -206,16 +204,6 @@ $this->assertDatabaseMissingMany('posts', [
]);
```

### ExceptionAsserts

#### `willSeeException()`

Add expectation that the given exception would be thrown:

```php
$this->willSeeException(RuntimeException::class, 'Oops! Houston, we have a problem!');
```

### FilesystemAsserts

#### `assertDirectoryEmpty()`
Expand Down
20 changes: 0 additions & 20 deletions src/Asserts/ExceptionAsserts.php

This file was deleted.

2 changes: 0 additions & 2 deletions src/TestingTools.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

use Illuminated\Testing\Asserts\CollectionAsserts;
use Illuminated\Testing\Asserts\DatabaseAsserts;
use Illuminated\Testing\Asserts\ExceptionAsserts;
use Illuminated\Testing\Asserts\FilesystemAsserts;
use Illuminated\Testing\Asserts\LogFileAsserts;
use Illuminated\Testing\Asserts\ReflectionAsserts;
Expand All @@ -20,7 +19,6 @@ trait TestingTools
/** Asserts */
use CollectionAsserts;
use DatabaseAsserts;
use ExceptionAsserts;
use FilesystemAsserts;
use LogFileAsserts;
use ReflectionAsserts;
Expand Down
17 changes: 0 additions & 17 deletions tests/Asserts/ExceptionAssertsTest.php

This file was deleted.

2 changes: 0 additions & 2 deletions tests/TestingToolsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

use Illuminated\Testing\Asserts\CollectionAsserts;
use Illuminated\Testing\Asserts\DatabaseAsserts;
use Illuminated\Testing\Asserts\ExceptionAsserts;
use Illuminated\Testing\Asserts\FilesystemAsserts;
use Illuminated\Testing\Asserts\LogFileAsserts;
use Illuminated\Testing\Asserts\ReflectionAsserts;
Expand All @@ -26,7 +25,6 @@ public function it_is_using_all_testing_tools_asserts()
{
$this->assertTraitUsed(TestingTools::class, CollectionAsserts::class);
$this->assertTraitUsed(TestingTools::class, DatabaseAsserts::class);
$this->assertTraitUsed(TestingTools::class, ExceptionAsserts::class);
$this->assertTraitUsed(TestingTools::class, FilesystemAsserts::class);
$this->assertTraitUsed(TestingTools::class, LogFileAsserts::class);
$this->assertTraitUsed(TestingTools::class, ReflectionAsserts::class);
Expand Down

0 comments on commit 1221ca2

Please sign in to comment.