mirror of
https://github.com/emilybache/GildedRose-Refactoring-Kata.git
synced 2026-10-13 17:49:25 +00:00
Merge pull request #534 from kudashevs/feature/fix_formatting
Fix ApprovalTest code formatting
This commit is contained in:
1 file changed
+5
-5
@@ -21,21 +21,21 @@ use ApprovalTests\Approvals;
|
||||
class ApprovalTest extends TestCase
|
||||
{
|
||||
|
||||
public function testFoo(): void
|
||||
public function testFoo(): void
|
||||
{
|
||||
$items = [new Item('foo', 0, 0)];
|
||||
$app = new GildedRose($items);
|
||||
$app->updateQuality();
|
||||
|
||||
Approvals::verifyList($items);
|
||||
}
|
||||
Approvals::verifyList($items);
|
||||
}
|
||||
|
||||
public function testThirtyDays(): void
|
||||
{
|
||||
{
|
||||
ob_start();
|
||||
|
||||
$argv = ["", "30"];
|
||||
include(__DIR__.'/../fixtures/texttest_fixture.php');
|
||||
include(__DIR__ . '/../fixtures/texttest_fixture.php');
|
||||
|
||||
$output = ob_get_clean();
|
||||
|
||||
|
||||
Reference in new issue
Block a user