Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
mirko-pagliai committed May 8, 2024
1 parent 91e39fe commit 68fc643
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions tests/TestCase/TestSuite/TestCaseTest.php
Expand Up @@ -36,9 +36,10 @@ public function setUp(): void
{
parent::setUp();

$this->TestCase ??= $this->getMockBuilder(TestCase::class)
->disableOriginalConstructor()
->getMock();
$this->TestCase = new class ('MyTest') extends TestCase {
public function testSomeMethod() {

Check failure on line 40 in tests/TestCase/TestSuite/TestCaseTest.php

View workflow job for this annotation

GitHub Actions / Coding Standard & Static Analysis

Opening brace should be on a new line

Check failure on line 40 in tests/TestCase/TestSuite/TestCaseTest.php

View workflow job for this annotation

GitHub Actions / Coding Standard & Static Analysis

Method class@anonymous/tests/TestCase/TestSuite/TestCaseTest.php:39::testSomeMethod() has no return type specified.
}
};
}

/**
Expand Down

0 comments on commit 68fc643

Please sign in to comment.