Skip to content

Commit 5a35089

Browse files
committed
correctly test header content type value
1 parent 7a69dbb commit 5a35089

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/Unit/Neo4jQueryAPIUnitTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public function testCorrectClientSetup(): void
4343
$config = $client->getConfig();
4444
$this->assertEquals(rtrim($this->address, '/'), $config['base_uri']);
4545
$this->assertEquals('Basic ' . base64_encode("{$this->username}:{$this->password}"), $config['headers']['Authorization']);
46-
$this->assertEquals('application/json', $config['headers']['Content-Type']);
46+
$this->assertEquals('application/vnd.neo4j.query', $config['headers']['Content-Type']);
4747
}
4848

4949
/**

0 commit comments

Comments
 (0)