mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-03 05:24:34 -04:00
Make tests green
This commit is contained in:
parent
ac4c7bc418
commit
cb055e85d0
@ -2,6 +2,15 @@
|
|||||||
|
|
||||||
namespace Tests\Feature\PdfMaker;
|
namespace Tests\Feature\PdfMaker;
|
||||||
|
|
||||||
|
use App\Services\PdfMaker\Designs\Bold;
|
||||||
|
use App\Services\PdfMaker\Designs\Business;
|
||||||
|
use App\Services\PdfMaker\Designs\Clean;
|
||||||
|
use App\Services\PdfMaker\Designs\Creative;
|
||||||
|
use App\Services\PdfMaker\Designs\Elegant;
|
||||||
|
use App\Services\PdfMaker\Designs\Hipster;
|
||||||
|
use App\Services\PdfMaker\Designs\Modern;
|
||||||
|
use App\Services\PdfMaker\Designs\Plain;
|
||||||
|
use App\Services\PdfMaker\Designs\Playful;
|
||||||
use App\Services\PdfMaker\PdfMaker;
|
use App\Services\PdfMaker\PdfMaker;
|
||||||
use Tests\TestCase;
|
use Tests\TestCase;
|
||||||
|
|
||||||
@ -11,8 +20,6 @@ class PdfMakerDesignsTest extends TestCase
|
|||||||
|
|
||||||
public function setUp(): void
|
public function setUp(): void
|
||||||
{
|
{
|
||||||
$this->markTestSkipped();
|
|
||||||
|
|
||||||
parent::setUp();
|
parent::setUp();
|
||||||
|
|
||||||
$this->state = [
|
$this->state = [
|
||||||
@ -130,7 +137,7 @@ class PdfMakerDesignsTest extends TestCase
|
|||||||
$maker = new PdfMaker($state);
|
$maker = new PdfMaker($state);
|
||||||
|
|
||||||
$maker
|
$maker
|
||||||
->design(ExampleDesign::class)
|
->design(Business::class)
|
||||||
->build();
|
->build();
|
||||||
|
|
||||||
exec('echo "" > storage/logs/laravel.log');
|
exec('echo "" > storage/logs/laravel.log');
|
||||||
@ -248,8 +255,7 @@ class PdfMakerDesignsTest extends TestCase
|
|||||||
|
|
||||||
info($maker->getCompiledHTML(true));
|
info($maker->getCompiledHTML(true));
|
||||||
|
|
||||||
$this->assertTrue(true);
|
$this->assertTrue(true);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public function testModern()
|
public function testModern()
|
||||||
@ -364,8 +370,7 @@ class PdfMakerDesignsTest extends TestCase
|
|||||||
|
|
||||||
info($maker->getCompiledHTML(true));
|
info($maker->getCompiledHTML(true));
|
||||||
|
|
||||||
$this->assertTrue(true);
|
$this->assertTrue(true);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -481,8 +486,7 @@ class PdfMakerDesignsTest extends TestCase
|
|||||||
|
|
||||||
info($maker->getCompiledHTML(true));
|
info($maker->getCompiledHTML(true));
|
||||||
|
|
||||||
$this->assertTrue(true);
|
$this->assertTrue(true);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public function testPlain()
|
public function testPlain()
|
||||||
@ -589,8 +593,7 @@ class PdfMakerDesignsTest extends TestCase
|
|||||||
|
|
||||||
info($maker->getCompiledHTML(true));
|
info($maker->getCompiledHTML(true));
|
||||||
|
|
||||||
$this->assertTrue(true);
|
$this->assertTrue(true);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public function testHipster()
|
public function testHipster()
|
||||||
@ -701,8 +704,7 @@ class PdfMakerDesignsTest extends TestCase
|
|||||||
|
|
||||||
info($maker->getCompiledHTML(true));
|
info($maker->getCompiledHTML(true));
|
||||||
|
|
||||||
$this->assertTrue(true);
|
$this->assertTrue(true);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public function testElegant()
|
public function testElegant()
|
||||||
@ -817,8 +819,7 @@ class PdfMakerDesignsTest extends TestCase
|
|||||||
|
|
||||||
info($maker->getCompiledHTML(true));
|
info($maker->getCompiledHTML(true));
|
||||||
|
|
||||||
$this->assertTrue(true);
|
$this->assertTrue(true);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public function testCreative()
|
public function testCreative()
|
||||||
@ -933,8 +934,7 @@ class PdfMakerDesignsTest extends TestCase
|
|||||||
|
|
||||||
info($maker->getCompiledHTML(true));
|
info($maker->getCompiledHTML(true));
|
||||||
|
|
||||||
$this->assertTrue(true);
|
$this->assertTrue(true);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public function testPlayful()
|
public function testPlayful()
|
||||||
@ -1042,8 +1042,6 @@ class PdfMakerDesignsTest extends TestCase
|
|||||||
|
|
||||||
info($maker->getCompiledHTML(true));
|
info($maker->getCompiledHTML(true));
|
||||||
|
|
||||||
|
$this->assertTrue(true);
|
||||||
$this->assertTrue(true);
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user