mirror of
https://github.com/pestphp/pest.git
synced 2026-03-06 07:47:22 +01:00
tests: adapts to collision beta 2
This commit is contained in:
23
tests/PHPUnit/CustomTestCase/ExecutedTest.php
Normal file
23
tests/PHPUnit/CustomTestCase/ExecutedTest.php
Normal file
@ -0,0 +1,23 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Tests\CustomTestCase;
|
||||
|
||||
use function PHPUnit\Framework\assertTrue;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
class ExecutedTest extends TestCase
|
||||
{
|
||||
public static $executed = false;
|
||||
|
||||
/** @test */
|
||||
public function testThatGetsExecuted(): void
|
||||
{
|
||||
self::$executed = true;
|
||||
|
||||
assertTrue(true);
|
||||
}
|
||||
}
|
||||
|
||||
// register_shutdown_function(fn () => assertTrue(ExecutedTest::$executed));
|
||||
Reference in New Issue
Block a user