1
0
mirror of https://github.com/laravel/valet.git synced 2026-02-07 09:10:03 +01:00
Commit Graph

13 Commits

Author SHA1 Message Date
Chris Brown
0b341a7ca1 Update test suite to phpunit 9.5
Update test suite to phpunit 9.5 syntax
Refactored to use polyfill for older PHP versions via `yoast/phpunit-polyfills`

Note: this includes 2 important differences from usual phpunit test suites:
- instead of extending `PHPUnit\Framework\TestCase` we extend `Yoast\PHPUnitPolyfills\TestCases\TestCase`
- instead of handling fixtures via `setUp()` and `tearDown()` we use `set_up()` and `tear_down()` respectively

Comment regarding formatting: I chose to use the FQDN in the `extends` syntax of the class declaration instead of using `use` so that it is more quickly apparent that we're doing something slightly different than usual phpunit syntax, particularly in regards to the set_up() / tear_down() methods that appear immediately following the `extends` line.
2020-11-29 12:10:05 -05:00
Chris Brown
027812c25f Pre-create the parent .config dir if needed
On a fresh OSX install, the ~/.config/ dir doesn't always exist. This checks and creates it if needed.
2018-11-13 09:34:21 -05:00
Matt Stauffer
7eb1aec410 Merge pull request #449 from eberkund/master
Move ~/.valet to ~/.config/valet
2018-08-30 08:33:28 -04:00
Colin DeCarlo
20afe84f36 Move the helper functions into the Valet namespace 2018-06-20 16:01:37 -04:00
Matt Stauffer
6587fb53a5 Add 'trust' command 2018-01-04 16:36:16 -05:00
Erik Berkun-Drevnig
34ccf5c3dc Fix broken test 2017-10-01 22:09:05 -04:00
Taylor Otwell
a35b668aee working on tests 2016-12-08 08:32:55 -05:00
Jan Willem Kaper
bd024deebc onfigurationTest updated with test_log_directory_is_created_with_log_files_if_it_doesnt_exist() functions (second attempt) 2016-06-18 23:10:35 +02:00
Jan Willem Kaper
1d60c03214 Revert "ConfigurationTest updated with test_log_directory_is_created_with_log_files_if_it_doesnt_exist() function"
This reverts commit 215eec574e.
2016-06-18 23:09:19 +02:00
Jan Willem Kaper
215eec574e ConfigurationTest updated with test_log_directory_is_created_with_log_files_if_it_doesnt_exist() function 2016-06-18 23:06:49 +02:00
Taylor Otwell
14588a40d8 load extensions 2016-05-11 20:32:53 -05:00
Taylor Otwell
e25be02c69 fix tests user call 2016-05-08 23:37:01 -05:00
Taylor Otwell
354e1d4111 progress refactoring 2016-05-07 22:10:32 -05:00