Skip to content

Commit

Permalink
Add setUP and tearDown return type
Browse files Browse the repository at this point in the history
  • Loading branch information
george-clippings committed Dec 9, 2020
1 parent 7c1b666 commit 70d430b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/classes/Testcase/Promotions.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@
*/
abstract class Testcase_Promotions extends \PHPUnit\Framework\TestCase {

public function setUp()
public function setUp(): void
{
parent::setUp();
Database::instance()->begin();
Jam_Association_Creator::current(1);
}

public function tearDown()
public function tearDown(): void
{
Database::instance()->rollback();
parent::tearDown();
Expand Down

0 comments on commit 70d430b

Please sign in to comment.