Skip to content

Commit f988a16

Browse files
committed
chore: make compatible with newest version of Jigsaw
At Jigsaw 1.5.0 was removed the file jigsaw-core.php Signed-off-by: Vitor Mattos <[email protected]>
1 parent fa7af8a commit f988a16

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/TestCase.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
namespace Tests;
44

55
use PHPUnit\Framework\TestCase as BaseTestCase;
6+
use TightenCo\Jigsaw\Container;
67

78
// use TightenCo\Jigsaw\File\ConfigFile;
89

@@ -14,8 +15,7 @@ protected function setUp(): void
1415
{
1516
parent::setUp();
1617

17-
require __DIR__.'/../vendor/tightenco/jigsaw/jigsaw-core.php';
18-
$this->app = $container;
18+
$this->app = new Container;
1919

2020
// $this->app->bind('config', function ($c) use ($cachePath) {
2121
// $config = (new ConfigFile($c['cwd'] . '/config.php', $c['cwd'] . '/helpers.php'))->config;

0 commit comments

Comments
 (0)