Skip to content

Commit 114c81c

Browse files
Fix legacy test
1 parent 2f15268 commit 114c81c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Tests/AppVariableTest.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,9 +95,12 @@ public function testGetUser()
9595
$this->assertEquals($user, $this->appVariable->getUser());
9696
}
9797

98+
/**
99+
* @group legacy
100+
*/
98101
public function testGetUserWithUsernameAsTokenUser()
99102
{
100-
$this->setTokenStorage($user = 'username');
103+
$this->setTokenStorage('username');
101104

102105
$this->assertNull($this->appVariable->getUser());
103106
}

0 commit comments

Comments
 (0)