Skip to content

Commit

Permalink
fix unit test method is error
Browse files Browse the repository at this point in the history
  • Loading branch information
inhere committed May 1, 2021
1 parent cbd4ba5 commit 7df85aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/task/test/unit/TaskTest.php
Expand Up @@ -22,7 +22,7 @@ class TaskTest extends TestCase
{
public function testCo(): void
{
$this->expectedException(\Swoft\Task\Exception\TaskException::class);
$this->expectException(\Swoft\Task\Exception\TaskException::class);
$this->mockTaskServer->co('demoTestTask', 'method', []);
}

Expand Down Expand Up @@ -65,7 +65,7 @@ public function testCo3(): void

public function testCo6(): void
{
$this->expectedException(\Swoft\Task\Exception\TaskException::class);
$this->expectException(\Swoft\Task\Exception\TaskException::class);
$this->mockTaskServer->co('demoTestTask', 'method3', ['name', 18306]);
}

Expand Down

0 comments on commit 7df85aa

Please sign in to comment.