Skip to content

Commit

Permalink
[fix] unique session_id collisions
Browse files Browse the repository at this point in the history
  • Loading branch information
phproberto committed May 11, 2018
1 parent c979260 commit 9cef04c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/Unit/EnvironmentTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ protected function setUp()
{
$this->saveFactoryState();

\JFactory::$config = $this->getMockConfig();
\JFactory::$session = $this->getMockSession();
\JFactory::$config = $this->getMockConfig();
\JFactory::$session = $this->getMockSession(['getId' => uniqid()]);

$this->dispatcher = new \JEventDispatcher;
\TestReflection::setValue($this->dispatcher, 'instance', $this->dispatcher);
Expand Down

0 comments on commit 9cef04c

Please sign in to comment.