diff --git a/src/Pest.php b/src/Pest.php index 54b3fdb16..477f9552c 100644 --- a/src/Pest.php +++ b/src/Pest.php @@ -6,7 +6,7 @@ function version(): string { - return '3.0.1'; + return '3.0.3'; } function testDirectory(string $file = ''): string diff --git a/tests/.pest/snapshots/Visual/Help/visual_snapshot_of_help_command_output.snap b/tests/.pest/snapshots/Visual/Help/visual_snapshot_of_help_command_output.snap index df6403ac6..fe9819794 100644 --- a/tests/.pest/snapshots/Visual/Help/visual_snapshot_of_help_command_output.snap +++ b/tests/.pest/snapshots/Visual/Help/visual_snapshot_of_help_command_output.snap @@ -1,5 +1,5 @@ - Pest Testing Framework 3.0.1. + Pest Testing Framework 3.0.3. USAGE: pest [options] diff --git a/tests/.pest/snapshots/Visual/Version/visual_snapshot_of_help_command_output.snap b/tests/.pest/snapshots/Visual/Version/visual_snapshot_of_help_command_output.snap index 5a7529271..1ba4688b7 100644 --- a/tests/.pest/snapshots/Visual/Version/visual_snapshot_of_help_command_output.snap +++ b/tests/.pest/snapshots/Visual/Version/visual_snapshot_of_help_command_output.snap @@ -1,3 +1,3 @@ - Pest Testing Framework 3.0.1. + Pest Testing Framework 3.0.3. diff --git a/tests/.snapshots/success.txt b/tests/.snapshots/success.txt index e8cbbe03f..114eae10c 100644 --- a/tests/.snapshots/success.txt +++ b/tests/.snapshots/success.txt @@ -1381,7 +1381,7 @@ ✓ it proxies to uses call PASS Tests\Unit\Configuration\Theme - ✓ it creates a theme instance + ✓ it creates a printer instance PASS Tests\Unit\Console\Help ✓ it outputs the help information when --help is used diff --git a/tests/Unit/Configuration/Theme.php b/tests/Unit/Configuration/Theme.php index 7cebcc16a..5a44691a1 100644 --- a/tests/Unit/Configuration/Theme.php +++ b/tests/Unit/Configuration/Theme.php @@ -1,7 +1,7 @@ theme(); +it('creates a printer instance', function () { + $theme = pest()->printer(); - expect($theme)->toBeInstanceOf(Pest\Configuration\Theme::class); + expect($theme)->toBeInstanceOf(Pest\Configuration\Printer::class); });