Skip to content
This repository was archived by the owner on Oct 30, 2024. It is now read-only.

Commit ec4ed4a

Browse files
committed
Fixed a broken unit test. Changed direct variable assignation to a setter
1 parent faf9371 commit ec4ed4a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/Unit/ConnectionTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ public function setUp()
6262
$options = new ConnectionOptions();
6363
if (!self::$isGnatsd) {
6464
time_nanosleep(1, 700000000);
65-
$options->port = 4222;
65+
$options->setPort(4222);
6666
}
6767
$this->c = new Nats\Connection($options);
6868
$this->c->connect();

0 commit comments

Comments
 (0)