We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
google/cloud
1 parent eac0079 commit c6e6ce2Copy full SHA for c6e6ce2
tests/Integration/Factory/FirestoreTest.php
@@ -4,7 +4,7 @@
4
5
namespace Kreait\Firebase\Tests\Integration\Factory;
6
7
-use Google\Cloud\Core\Exception\NotFoundException;
+use Exception;
8
use Kreait\Firebase\Tests\IntegrationTestCase;
9
use Kreait\Firebase\Util;
10
use PHPUnit\Framework\Attributes\Test;
@@ -54,7 +54,7 @@ public function testItCannotConnectToAnUnknownDatabase(): void
54
55
$database = self::$factory->createFirestore($name)->database();
56
57
- $this->expectException(NotFoundException::class);
+ $this->expectException(Exception::class);
58
// No need to deserialize the returned JSON
59
$this->expectExceptionMessageMatches("/$name/");
60
0 commit comments