Skip to content

Commit 610155c

Browse files
authored
Update ConcurrencyTest.php (#54732)
1 parent c31126b commit 610155c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/Integration/Concurrency/ConcurrencyTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public function testWorkCanBeDistributed()
4444

4545
public function testRunHandlerProcessErrorCode()
4646
{
47-
$this->expectException(\Exception::class);
47+
$this->expectException(Exception::class);
4848
$app = new Application(__DIR__);
4949
$processDriver = new ProcessDriver($app->make(ProcessFactory::class));
5050
$processDriver->run([
@@ -54,7 +54,7 @@ public function testRunHandlerProcessErrorCode()
5454

5555
public function testRunHandlerProcessErrorWithDefaultExceptionWithoutParam()
5656
{
57-
$this->expectException(\Exception::class);
57+
$this->expectException(Exception::class);
5858
$this->expectExceptionMessage('This is a different exception');
5959

6060
Concurrency::run([

0 commit comments

Comments
 (0)