From 56960ed2a0f5674c9906ce0b3e7dc67925bbce29 Mon Sep 17 00:00:00 2001 From: Tim MacDonald Date: Fri, 5 Jul 2019 14:20:33 +1000 Subject: [PATCH] introduce test bootstrapping --- phpunit.xml | 7 ++++++- tests/bootstrap.php | 31 +++++++++++++++++++++++++++++++ 2 files changed, 37 insertions(+), 1 deletion(-) create mode 100644 tests/bootstrap.php diff --git a/phpunit.xml b/phpunit.xml index da4add30..d562be80 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -1,7 +1,7 @@ + + + + + diff --git a/tests/bootstrap.php b/tests/bootstrap.php new file mode 100644 index 00000000..9f4cadcd --- /dev/null +++ b/tests/bootstrap.php @@ -0,0 +1,31 @@ +make(Kernel::class))->bootstrap(); + +foreach ($commands as $command) { + $console->call($command); +} +