-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: fix test assign null (kernel) (#393)
* fix: fix test assign null (kernel) * fix back slash meter
- Loading branch information
1 parent
9f01de5
commit 8f2f73e
Showing
2 changed files
with
28 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace System\Test\Integrate\Testing; | ||
|
||
use System\Integrate\Application; | ||
use System\Integrate\Http\Karnel; | ||
use System\Integrate\Testing\TestCase; | ||
|
||
final class TestCaseTest extends TestCase | ||
{ | ||
protected function setUp(): void | ||
{ | ||
require_once dirname(__DIR__) . DIRECTORY_SEPARATOR . 'Bootstrap' . DIRECTORY_SEPARATOR . 'RegisterProvidersTest.php'; | ||
$this->app = new Application(dirname(__DIR__) . '/assets/app2'); | ||
$this->app->set(Karnel::class, fn () => new Karnel($this->app)); | ||
|
||
parent::setUp(); | ||
} | ||
|
||
public function testTestRunSmoothly(): void | ||
{ | ||
$this->assertTrue(true); | ||
} | ||
} |