Skip to content

Commit

Permalink
Merge pull request #19974 from eileenmcnaughton/setup
Browse files Browse the repository at this point in the history
Phpunit 8 support - add void to setup
  • Loading branch information
seamuslee001 authored Apr 6, 2021
2 parents 9e61795 + b07d287 commit 2647441
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/phpunit/CiviTest/CiviUnitTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ public static function setUpBeforeClass() {
/**
* Common setup functions for all unit tests.
*/
protected function setUp() {
protected function setUp(): void {
$session = CRM_Core_Session::singleton();
$session->set('userID', NULL);

Expand Down

0 comments on commit 2647441

Please sign in to comment.