File tree 2 files changed +5
-2
lines changed
2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 46
46
"test" : " ./vendor/bin/phpunit --colors --stop-on-failure" ,
47
47
"unreleased" : " ./vendor/bin/since-unreleased.sh" ,
48
48
"strauss" : [
49
- " test -f ./bin/strauss.phar || curl -o bin/strauss.phar -L -C - https://github.com/BrianHenryIE/strauss/releases/download/0.14.0/strauss.phar" ,
50
- " vendor/stellarwp/validation/bin/set-domain domain=give" ,
49
+ " test -f ./bin/strauss.phar || curl -o bin/strauss.phar -L -C - https://github.com/BrianHenryIE/strauss/releases/download/0.19.1/strauss.phar" ,
50
+ " sed -i 's/PHP_EOL/\"\\ n\" /' vendor/stellarwp/validation/bin/set-domain" ,
51
+ " @php vendor/stellarwp/validation/bin/set-domain domain=give" ,
51
52
" @php bin/strauss.phar"
52
53
],
53
54
"post-install-cmd" : [
Original file line number Diff line number Diff line change @@ -32,6 +32,8 @@ public function test_constants() {
32
32
33
33
// Plugin Root File
34
34
$ path = str_replace ( 'tests/unit-tests/ ' , '' , plugin_dir_path ( $ filePath ) );
35
+ // Windows compatibility
36
+ $ path = str_replace ('/ ' , DIRECTORY_SEPARATOR , $ path );
35
37
$ this ->assertSame ( GIVE_PLUGIN_FILE , $ path . 'give.php ' );
36
38
}
37
39
You can’t perform that action at this time.
0 commit comments