Skip to content

Commit

Permalink
test: fix Tarantool version for ACCESS_DENIED user field check (#95)
Browse files Browse the repository at this point in the history
Currently this test fails in Tarantool 3.0 branch.

Need for tarantool/tarantool#9108
  • Loading branch information
nshy authored Apr 4, 2024
1 parent 1868ebe commit 80ad867
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Integration/BoxErrorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public function testExceptionWithErrorIsThrown() : void
'access_type' => 'Write',
'user' => 'user_with_no_privileges',
];
if ($this->tarantoolVersionSatisfies('<= 3.0')) {
if ($this->tarantoolVersionSatisfies('< 3.1')) {
unset($expectedFields['user']);
}
self::assertEquals($expectedFields, $error->getFields());
Expand Down

0 comments on commit 80ad867

Please sign in to comment.