forked from larastan/larastan
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpunit-bootstrap.php
13 lines (9 loc) · 805 Bytes
/
phpunit-bootstrap.php
1
2
3
4
5
6
7
8
9
10
11
12
13
<?php
use Illuminate\Filesystem\Filesystem;
require_once __DIR__.'/vendor/autoload.php';
$filesystem = new Filesystem();
$filesystem->copyDirectory(__DIR__.'/tests/application/database/migrations', __DIR__.'/vendor/orchestra/testbench-core/laravel/database/migrations');
$filesystem->copyDirectory(__DIR__.'/tests/application/database/schema', __DIR__.'/vendor/orchestra/testbench-core/laravel/database/schema');
$filesystem->copyDirectory(__DIR__.'/tests/application/config', __DIR__.'/vendor/orchestra/testbench-core/laravel/config');
$filesystem->copyDirectory(__DIR__.'/tests/application/resources', __DIR__.'/vendor/orchestra/testbench-core/laravel/resources');
$filesystem->copyDirectory(__DIR__.'/tests/application/app/Console', __DIR__.'/vendor/orchestra/testbench-core/laravel/app/Console');