Commit 0031cb2c authored by Anja Leichsenring's avatar Anja Leichsenring Committed by Georg Ringer
Browse files

[BUGFIX] Remove superflous parameter that blocks the test

assertNotNull takes only one parameter, but due to a left over
from former refactoring, it got two, and the first one
was a static string. So the test actually did not test
what it was supposed to test.

Resolves: #88387
Relates: #87764
Releases: master
Change-Id: Ib39d4eb623f7b079a5a4a6159ffc7520ac70642b
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/60778

Tested-by: default avatarTYPO3com <noreply@typo3.com>
Tested-by: Tymoteusz Motylewski's avatarTymoteusz Motylewski <t.motylewski@gmail.com>
Tested-by: Georg Ringer's avatarGeorg Ringer <georg.ringer@gmail.com>
Reviewed-by: default avatarGuido Schmechel <guido.schmechel@brandung.de>
Reviewed-by: Tymoteusz Motylewski's avatarTymoteusz Motylewski <t.motylewski@gmail.com>
Reviewed-by: Oliver Klee's avatarOliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: Georg Ringer's avatarGeorg Ringer <georg.ringer@gmail.com>
parent 08c00ab8
......@@ -235,7 +235,7 @@ class FrontendUserAuthenticationTest extends UnitTestCase
$this->assertEmpty($subject->getSessionData($uniqueSessionId));
$this->assertEmpty($subject->user);
$subject->setSessionData('foo', 'bar');
$this->assertNotNull('sessionData', $subject->getSessionData('foo'));
$this->assertNotNull($subject->getSessionData('foo'));
// Suppress "headers already sent" errors - phpunit does that internally already
$prev = error_reporting(0);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment