Skip to content

Commit cb54e9e

Browse files
fixed reset server states in test
1 parent 0373b9e commit cb54e9e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/protocol/V1Test.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -265,11 +265,10 @@ public function testReset(V1 $cls)
265265
}
266266

267267
try {
268-
$cls->serverState->set(ServerState::STREAMING);
269268
$cls->reset();
270269
} catch (Exception $e) {
271270
$this->assertEquals('some error message (Neo.ClientError.Statement.SyntaxError)', $e->getMessage());
272-
$this->assertEquals(ServerState::FAILED, $cls->serverState->get());
271+
$this->assertEquals(ServerState::DEFUNCT, $cls->serverState->get());
273272
}
274273
}
275274

0 commit comments

Comments
 (0)