Skip to content

Commit

Permalink
fix unit test error for framework
Browse files Browse the repository at this point in the history
  • Loading branch information
inhere committed May 1, 2021
1 parent bda3c1e commit 2de8439
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/framework/test/unit/CoTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class CoTest extends TestCase
{
/**
*/
public function tearDown()
public function tearDown(): void
{
Context::getWaitGroup()->wait();
}
Expand Down
2 changes: 1 addition & 1 deletion src/framework/test/unit/TimerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class TimerTest extends TestCase

/**
*/
public function setUp()
public function setUp(): void
{
Context::set(TestContext::new());
}
Expand Down

0 comments on commit 2de8439

Please sign in to comment.