-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8c9d906
commit ff33ded
Showing
10 changed files
with
24 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
function test_doctor() { | ||
assert_contains "PHPCTL_IMAGE=" "$(./phpctl doctor)" | ||
assert_contains "PHPCTL_IMAGE=" "$(./bin/phpctl doctor)" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
function test_help_is_default() { | ||
assert_contains "phpctl <command> [arguments]" "$(./phpctl)" | ||
assert_contains "phpctl <command> [arguments]" "$(./bin/phpctl)" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
function test_php_version_is_default() { | ||
assert_contains "Copyright (c) The PHP Group" "$(./phpctl php)" | ||
assert_contains "Copyright (c) The PHP Group" "$(./bin/phpctl php)" | ||
} | ||
|
||
function test_php_accepts_arguments() { | ||
assert_contains "[PHP Modules]" "$(./phpctl php -m)" | ||
assert_contains "Configuration File (php.ini) " "$(./phpctl php --ini)" | ||
assert_contains "[PHP Modules]" "$(./bin/phpctl php -m)" | ||
assert_contains "Configuration File (php.ini) " "$(./bin/phpctl php --ini)" | ||
} | ||
|
||
function test_composer() { | ||
assert_contains "version" "$(./phpctl composer --version)" | ||
assert_contains "version" "$(./bin/phpctl composer --version)" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
function test_sh_commands() { | ||
assert_contains "/opt" "$(./phpctl sh pwd)" | ||
assert_contains "test" "$(./phpctl sh echo test)" | ||
assert_contains "/opt" "$(./bin/phpctl sh pwd)" | ||
assert_contains "test" "$(./bin/phpctl sh echo test)" | ||
} |