diff options
author | Frederic Guillot <fred@kanboard.net> | 2016-03-29 21:58:17 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2016-03-29 21:58:17 -0400 |
commit | d8027c58d5bb5c2ac0dcce9e12370927f2699e28 (patch) | |
tree | 269fc42cbe05c7d5b928fdc955dc0941bf07a82b | |
parent | 57fd0aa78ef78e945260adf83fc745bc09b3a7db (diff) |
Fix broken unit test in PR #2066
-rw-r--r-- | tests/units/User/Avatar/LetterAvatarProviderTest.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/units/User/Avatar/LetterAvatarProviderTest.php b/tests/units/User/Avatar/LetterAvatarProviderTest.php index 0c1bfc4b..39e51c98 100644 --- a/tests/units/User/Avatar/LetterAvatarProviderTest.php +++ b/tests/units/User/Avatar/LetterAvatarProviderTest.php @@ -23,7 +23,7 @@ class LetterAvatarProviderTest extends Base { $provider = new LetterAvatarProvider($this->container); $user = array('id' => 123, 'name' => 'Kanboard Admin', 'username' => 'bob', 'email' => ''); - $expected = '<div class="avatar-letter" style="background-color: rgb(187, 224, 108)" title="Kanboard Admin">KA</div>'; + $expected = '<div class="avatar-letter" style="background-color: rgb(131, 224, 108)" title="Kanboard Admin">KA</div>'; $this->assertEquals($expected, $provider->render($user, 48)); } @@ -31,7 +31,7 @@ class LetterAvatarProviderTest extends Base { $provider = new LetterAvatarProvider($this->container); $user = array('id' => 123, 'name' => '', 'username' => 'admin', 'email' => ''); - $expected = '<div class="avatar-letter" style="background-color: rgb(210, 97, 45)" title="admin">A</div>'; + $expected = '<div class="avatar-letter" style="background-color: rgb(134, 45, 132)" title="admin">A</div>'; $this->assertEquals($expected, $provider->render($user, 48)); } } |