Skip to content

Commit 9d4be62

Browse files
committed
fix(dev): Remove test files after all tests
1 parent 53731cb commit 9d4be62

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ build:
88
.PHONY: test
99
test:
1010
@parallel --line-buffer PHP_VERSION={} COMPOSER_AUTH= TERM= ./bin/notty ./lib/bashunit ./tests/ ::: 81 82 83
11+
@[ -f phpctl.ini ] && rm phpctl.ini
1112

1213
.PHONY: install
1314
install:

tests/php_test.sh

-3
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,4 @@ function test_composer() {
1414
function test_phpctl_ini() {
1515
echo "memory_limit=1337M" > phpctl.ini
1616
assert_contains "memory_limit => 1337M => 1337M" "$(./bin/phpctl php -i | grep memory_limit)"
17-
if [ -f phpctl.ini ]; then
18-
rm phpctl.ini
19-
fi
2017
}

0 commit comments

Comments
 (0)