From d6ddd7326a9eed950213e1b55092c3b78e01ef09 Mon Sep 17 00:00:00 2001 From: Nuno Maduro Date: Sun, 18 Sep 2022 16:33:19 +0100 Subject: [PATCH] Removes laravel stubs --- stubs/Laravel/Pest.php | 45 --------------------------------------- stubs/Laravel/phpunit.xml | 21 ------------------ 2 files changed, 66 deletions(-) delete mode 100644 stubs/Laravel/Pest.php delete mode 100644 stubs/Laravel/phpunit.xml diff --git a/stubs/Laravel/Pest.php b/stubs/Laravel/Pest.php deleted file mode 100644 index 5d3a73b9..00000000 --- a/stubs/Laravel/Pest.php +++ /dev/null @@ -1,45 +0,0 @@ -in('Feature'); - -/* -|-------------------------------------------------------------------------- -| Expectations -|-------------------------------------------------------------------------- -| -| When you're writing tests, you often need to check that values meet certain conditions. The -| "expect()" function gives you access to a set of "expectations" methods that you can use -| to assert different things. Of course, you may extend the Expectation API at any time. -| -*/ - -expect()->extend('toBeOne', function () { - return $this->toBe(1); -}); - -/* -|-------------------------------------------------------------------------- -| Functions -|-------------------------------------------------------------------------- -| -| While Pest is very powerful out-of-the-box, you may have some testing code specific to your -| project that you don't want to repeat in every file. Here you can also expose helpers as -| global functions to help you to reduce the number of lines of code in your test files. -| -*/ - -function something() -{ - // .. -} diff --git a/stubs/Laravel/phpunit.xml b/stubs/Laravel/phpunit.xml deleted file mode 100644 index 64bf04f7..00000000 --- a/stubs/Laravel/phpunit.xml +++ /dev/null @@ -1,21 +0,0 @@ - - - - - ./tests/Unit - - - ./tests/Feature - - - - - ./app - ./src - - -