Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com>
  • Loading branch information
crynobone committed Dec 27, 2024
1 parent d4b50f2 commit acf0869
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions tests/TestCaseTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
use PHPUnit\Framework\TestCase;

use function Orchestra\Testbench\container;
use function Orchestra\Testbench\phpunit_version_compare;

class TestCaseTest extends TestCase
{
Expand All @@ -25,9 +24,7 @@ protected function tearDown(): void
#[Test]
public function it_can_create_the_testcase()
{
$methodName = phpunit_version_compare('10', '>=')
? $this->name()
: $this->getName();
$methodName = $this->name();

$testbench = new class($methodName) extends \Orchestra\Testbench\TestCase
{
Expand Down

0 comments on commit acf0869

Please sign in to comment.