diff --git a/src/Pest.php b/src/Pest.php index 54b3fdb1..477f9552 100644 --- a/src/Pest.php +++ b/src/Pest.php @@ -6,7 +6,7 @@ namespace Pest; 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 df6403ac..fe981979 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 5a752927..1ba4688b 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 e8cbbe03..114eae10 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 7cebcc16..5a44691a 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); });