1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-09-20 16:31:33 +02:00

Make tests for PdfMaker green

This commit is contained in:
Benjamin Beganović 2020-08-21 11:12:42 +02:00
parent 0a38a52617
commit ba41e22b3b
2 changed files with 0 additions and 27 deletions

View File

@ -137,7 +137,6 @@ class PdfMakerDesignsTest extends TestCase
], $this->state['variables']),
];
$this->markTestSkipped('STUB broken tests');
$maker = new PdfMaker($state);
@ -250,7 +249,6 @@ class PdfMakerDesignsTest extends TestCase
],
'variables' => array_merge([], $this->state['variables']),
];
$this->markTestSkipped('STUB broken tests');
$maker = new PdfMaker($state);
@ -366,7 +364,6 @@ class PdfMakerDesignsTest extends TestCase
],
'variables' => array_merge([], $this->state['variables']),
];
$this->markTestSkipped('STUB broken tests');
$maker = new PdfMaker($state);
@ -483,7 +480,6 @@ class PdfMakerDesignsTest extends TestCase
],
'variables' => array_merge([], $this->state['variables']),
];
$this->markTestSkipped('STUB broken tests');
$maker = new PdfMaker($state);
@ -593,7 +589,6 @@ class PdfMakerDesignsTest extends TestCase
],
'variables' => array_merge([], $this->state['variables']),
];
$this->markTestSkipped('STUB broken tests');
$maker = new PdfMaker($state);
@ -707,7 +702,6 @@ class PdfMakerDesignsTest extends TestCase
],
'variables' => array_merge([], $this->state['variables']),
];
$this->markTestSkipped('STUB broken tests');
$maker = new PdfMaker($state);
@ -824,7 +818,6 @@ class PdfMakerDesignsTest extends TestCase
],
'variables' => array_merge([], $this->state['variables']),
];
$this->markTestSkipped('STUB broken tests');
$maker = new PdfMaker($state);
@ -941,7 +934,6 @@ class PdfMakerDesignsTest extends TestCase
],
'variables' => array_merge([], $this->state['variables']),
];
$this->markTestSkipped('STUB broken tests');
$maker = new PdfMaker($state);
@ -1052,7 +1044,6 @@ class PdfMakerDesignsTest extends TestCase
],
'variables' => array_merge([], $this->state['variables']),
];
$this->markTestSkipped('STUB broken tests');
$maker = new PdfMaker($state);

View File

@ -18,8 +18,6 @@ class PdfMakerTest extends TestCase
public function testDesignLoadsCorrectly()
{
$this->markTestSkipped('STUB broken tests');
$maker = new PdfMaker($this->state);
$maker->design(ExampleDesign::class);
@ -29,8 +27,6 @@ class PdfMakerTest extends TestCase
public function testHtmlDesignLoadsCorrectly()
{
$this->markTestSkipped('STUB broken tests');
$maker = new PdfMaker($this->state);
$maker
@ -42,8 +38,6 @@ class PdfMakerTest extends TestCase
public function testGetSectionUtility()
{
$this->markTestSkipped('STUB broken tests');
$maker = new PdfMaker($this->state);
$maker
@ -55,8 +49,6 @@ class PdfMakerTest extends TestCase
public function testTableAttributesAreInjected()
{
$this->markTestSkipped('STUB broken tests');
$state = [
'template' => [
'product-table' => [
@ -93,8 +85,6 @@ class PdfMakerTest extends TestCase
public function testVariablesAreReplaced()
{
$this->markTestSkipped('STUB broken tests');
$state = [
'template' => [
@ -133,8 +123,6 @@ class PdfMakerTest extends TestCase
public function testElementContentIsGenerated()
{
$this->markTestSkipped('STUB broken tests');
$state = [
'template' => [
@ -184,8 +172,6 @@ class PdfMakerTest extends TestCase
public function testConditionalRenderingOfElements()
{
$this->markTestSkipped('STUB broken tests');
$maker1 = new PdfMaker([
'template' => [
@ -226,8 +212,6 @@ class PdfMakerTest extends TestCase
public function testOrderingElements()
{
$this->markTestSkipped('STUB broken tests');
$maker = new PdfMaker([
'template' => [
@ -286,8 +270,6 @@ class PdfMakerTest extends TestCase
public function testGeneratingPdf()
{
$this->markTestSkipped('STUB broken tests');
$state = [
'template' => [