Skip to content

Commit

Permalink
Added Test for setUser / getUser in RedisOptions
Browse files Browse the repository at this point in the history
  • Loading branch information
cbraunVBM committed Apr 30, 2024
1 parent 28f14ea commit d48d820
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions test/integration/Laminas/RedisTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -328,6 +328,17 @@ public function testOptionsGetSetPassword(): void
'Password was set incorrectly using RedisOptions'
);
}

Check failure on line 331 in test/integration/Laminas/RedisTest.php

View workflow job for this annotation

GitHub Actions / QA Checks (PHPCodeSniffer [8.1, locked], ubuntu-latest, laminas/laminas-continuous-integration-ac...

Whitespace found at end of line
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
{
Expand Down

0 comments on commit d48d820

Please sign in to comment.