Skip to content

Commit

Permalink
DEBUG set $GLOBALS['debug'] = true for test
Browse files Browse the repository at this point in the history
  • Loading branch information
mvorisek committed May 7, 2022
1 parent 1a75c90 commit 89ff24a
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions tests/ModelAggregateTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -177,9 +177,15 @@ public function testGroupSelectCondition2(): void
10
);

$this->assertSame([
['client' => 'Vinny', 'client_id' => 1, 's' => 19.0, 'amount' => 19.0, 'double' => 38.0],
], $aggregate->export());
try {
$GLOBALS['debug'] = true;

$this->assertSame([
['client' => 'Vinny', 'client_id' => 1, 's' => 19.0, 'amount' => 19.0, 'double' => 38.0],
], $aggregate->export());
} finally {
$GLOBALS['debug'] = false;
}
}

public function testGroupSelectCondition3(): void
Expand Down

0 comments on commit 89ff24a

Please sign in to comment.