File tree 2 files changed +12
-4
lines changed
.scaffold/tests/phpunit/Functional
2 files changed +12
-4
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
+ # killall -9 php >/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 @@ -31,9 +31,17 @@ public function testBasic() {
31
31
$ process ->setEnv ([
32
32
'DRUPAL_EXTENSION_SCAFFOLD_NAME ' => 'Hello Extension ' ,
33
33
]);
34
- $ process ->run ();
35
- echo $ process ->getErrorOutput ();
36
- echo $ process ->getOutput ();
34
+ $ status = $ process ->run ();
35
+ $ this ->assertEquals (0 , $ status );
36
+ $ process = new Process (['ls ' , '-al ' ], $ this ->testDir );
37
+ $ status = $ process ->run ();
38
+ $ this ->assertEquals (0 , $ status );
39
+ $ process = new Process (['./.devtools/assemble.sh ' ], $ this ->testDir );
40
+ $ status = $ process ->run ();
41
+ $ this ->assertEquals (0 , $ status );
42
+ $ process = new Process (['./.devtools/start.sh ' ], $ this ->testDir );
43
+ $ status = $ process ->run ();
44
+ $ this ->assertEquals (0 , $ status );
37
45
}
38
46
39
47
protected function tearDown (): void {
You can’t perform that action at this time.
0 commit comments