Skip to content

Commit 15b3bc7

Browse files
committed
Add more to test case
1 parent a2cb621 commit 15b3bc7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/AsyncTaskTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,8 @@ public function testAsyncTaskID()
222222
// has ID is also ok
223223
$task = new AsyncTask(new SleepingAsyncTask(), taskID: "yeah");
224224
unset($task);
225+
$taskStatus = new AsyncTaskStatus("yeah");
226+
unset($taskStatus);
225227

226228
// but blank ID is not allowed
227229
$this->expectException(InvalidArgumentException::class);

0 commit comments

Comments
 (0)