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.
1 parent 0c435a3 commit 1319358Copy full SHA for 1319358
tests/ExceptionsTest.php
@@ -2,6 +2,8 @@
2
3
declare(strict_types=1);
4
5
+use ArangoClient\Exceptions\ArangoException;
6
+
7
uses(Tests\TestCase::class);
8
9
test('test409 conflict exception', function () {
@@ -18,6 +20,7 @@
18
20
19
21
test('calls to none existing db throw', function () {
22
$this->arangoClient->setDatabase('NoneExistingDb');
- $this->expectExceptionCode(404);
23
$this->schemaManager->hasCollection('dummy');
-});
24
25
+ $this->arangoClient->setDatabase($this->testDatabaseName);
26
+})->throws(ArangoException::class);
0 commit comments