Skip to content

Commit 795f785

Browse files
committed
handle
1 parent aeb9cf7 commit 795f785

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

kahlan-config.php

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<?php // kahlan-config.php
2+
3+
use App\Kernel;
4+
use Kahlan\Filter\Filters;
5+
6+
Filters::apply($this, 'bootstrap', function($next) {
7+
8+
require __DIR__ . '/vendor/autoload.php';
9+
10+
$root = $this->suite()->root();
11+
$root->beforeAll(function () {
12+
// allow('spl_autoload_register')->toBeCalled()->andReturn(null);
13+
});
14+
15+
return $next();
16+
17+
});

0 commit comments

Comments
 (0)