diff --git a/test/integration/Laminas/RedisTest.php b/test/integration/Laminas/RedisTest.php index a588022..e108e2c 100644 --- a/test/integration/Laminas/RedisTest.php +++ b/test/integration/Laminas/RedisTest.php @@ -328,6 +328,17 @@ public function testOptionsGetSetPassword(): void 'Password was set incorrectly using RedisOptions' ); } + + public function testOptionsGetSetUser(): void + { + $user = 'dummyuser'; + $this->options->setUser($user); + $this->assertEquals( + $user, + $this->options->getUser(), + 'User was set incorrectly using RedisOptions' + ); + } public function testTouchItem(): void {