diff --git a/tests/Unit/EnvironmentTest.php b/tests/Unit/EnvironmentTest.php index 0d9c503..86f364d 100644 --- a/tests/Unit/EnvironmentTest.php +++ b/tests/Unit/EnvironmentTest.php @@ -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);