Skip to content

Commit

Permalink
fix unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
klimov-paul committed Jun 14, 2023
1 parent ae4e2ed commit 7fbf128
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
},
"require-dev": {
"phpunit/phpunit": "^6.0 || ^7.0 || ^8.0 || ^9.3 || ^10.0.7",
"yii1tech/session-dummy": "^1.0.0"
"yii1tech/session-dummy": "^1.0.1"
},
"autoload": {
"psr-4": {
Expand Down
2 changes: 2 additions & 0 deletions tests/WebUserTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,8 @@ public function testAfterRestoreEvent(): void
$event = $raisedEvent;
};

Yii::app()->getComponent('session')->open();

$_SESSION['__id'] = 'username';
$_SESSION['__name'] = 'username';

Expand Down

0 comments on commit 7fbf128

Please sign in to comment.