File tree 2 files changed +4
-1
lines changed
.scaffold/tests/phpunit/Functional
2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ echo "==============================="
37
37
echo
38
38
39
39
info " Stopping previously started services, if any."
40
- # killall -9 php >/dev/null 2>&1 || true
40
+ kill -SIGKILL " $( ps aux | grep ' php -S ' | grep -v grep | awk ' {print $2} ' ) " > /dev/null 2>&1 || true
41
41
42
42
info " Starting the PHP webserver."
43
43
nohup php -S " ${WEBSERVER_HOST} :${WEBSERVER_PORT} " -t " $( pwd) /build/web" " $( pwd) /build/web/.ht.router.php" > /tmp/php.log 2>&1 &
Original file line number Diff line number Diff line change @@ -42,6 +42,9 @@ public function testBasic() {
42
42
$ process = new Process (['./.devtools/start.sh ' ], $ this ->testDir );
43
43
$ status = $ process ->run ();
44
44
$ this ->assertEquals (0 , $ status );
45
+ $ process = new Process (['./.devtools/provision.sh ' ], $ this ->testDir );
46
+ $ status = $ process ->run ();
47
+ $ this ->assertEquals (0 , $ status );
45
48
}
46
49
47
50
protected function tearDown (): void {
You can’t perform that action at this time.
0 commit comments