Skip to content

Commit c6e6ce2

Browse files
committed
Remove usage of the an exception in the transitive google/cloud dependency
1 parent eac0079 commit c6e6ce2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/Integration/Factory/FirestoreTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
namespace Kreait\Firebase\Tests\Integration\Factory;
66

7-
use Google\Cloud\Core\Exception\NotFoundException;
7+
use Exception;
88
use Kreait\Firebase\Tests\IntegrationTestCase;
99
use Kreait\Firebase\Util;
1010
use PHPUnit\Framework\Attributes\Test;
@@ -54,7 +54,7 @@ public function testItCannotConnectToAnUnknownDatabase(): void
5454

5555
$database = self::$factory->createFirestore($name)->database();
5656

57-
$this->expectException(NotFoundException::class);
57+
$this->expectException(Exception::class);
5858
// No need to deserialize the returned JSON
5959
$this->expectExceptionMessageMatches("/$name/");
6060

0 commit comments

Comments
 (0)