mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-04 23:14:35 -04:00
Make tests for PdfMaker green
This commit is contained in:
parent
0a38a52617
commit
ba41e22b3b
@ -137,7 +137,6 @@ class PdfMakerDesignsTest extends TestCase
|
|||||||
], $this->state['variables']),
|
], $this->state['variables']),
|
||||||
];
|
];
|
||||||
|
|
||||||
$this->markTestSkipped('STUB broken tests');
|
|
||||||
|
|
||||||
|
|
||||||
$maker = new PdfMaker($state);
|
$maker = new PdfMaker($state);
|
||||||
@ -250,7 +249,6 @@ class PdfMakerDesignsTest extends TestCase
|
|||||||
],
|
],
|
||||||
'variables' => array_merge([], $this->state['variables']),
|
'variables' => array_merge([], $this->state['variables']),
|
||||||
];
|
];
|
||||||
$this->markTestSkipped('STUB broken tests');
|
|
||||||
|
|
||||||
$maker = new PdfMaker($state);
|
$maker = new PdfMaker($state);
|
||||||
|
|
||||||
@ -366,7 +364,6 @@ class PdfMakerDesignsTest extends TestCase
|
|||||||
],
|
],
|
||||||
'variables' => array_merge([], $this->state['variables']),
|
'variables' => array_merge([], $this->state['variables']),
|
||||||
];
|
];
|
||||||
$this->markTestSkipped('STUB broken tests');
|
|
||||||
|
|
||||||
$maker = new PdfMaker($state);
|
$maker = new PdfMaker($state);
|
||||||
|
|
||||||
@ -483,7 +480,6 @@ class PdfMakerDesignsTest extends TestCase
|
|||||||
],
|
],
|
||||||
'variables' => array_merge([], $this->state['variables']),
|
'variables' => array_merge([], $this->state['variables']),
|
||||||
];
|
];
|
||||||
$this->markTestSkipped('STUB broken tests');
|
|
||||||
|
|
||||||
$maker = new PdfMaker($state);
|
$maker = new PdfMaker($state);
|
||||||
|
|
||||||
@ -593,7 +589,6 @@ class PdfMakerDesignsTest extends TestCase
|
|||||||
],
|
],
|
||||||
'variables' => array_merge([], $this->state['variables']),
|
'variables' => array_merge([], $this->state['variables']),
|
||||||
];
|
];
|
||||||
$this->markTestSkipped('STUB broken tests');
|
|
||||||
|
|
||||||
$maker = new PdfMaker($state);
|
$maker = new PdfMaker($state);
|
||||||
|
|
||||||
@ -707,7 +702,6 @@ class PdfMakerDesignsTest extends TestCase
|
|||||||
],
|
],
|
||||||
'variables' => array_merge([], $this->state['variables']),
|
'variables' => array_merge([], $this->state['variables']),
|
||||||
];
|
];
|
||||||
$this->markTestSkipped('STUB broken tests');
|
|
||||||
|
|
||||||
$maker = new PdfMaker($state);
|
$maker = new PdfMaker($state);
|
||||||
|
|
||||||
@ -824,7 +818,6 @@ class PdfMakerDesignsTest extends TestCase
|
|||||||
],
|
],
|
||||||
'variables' => array_merge([], $this->state['variables']),
|
'variables' => array_merge([], $this->state['variables']),
|
||||||
];
|
];
|
||||||
$this->markTestSkipped('STUB broken tests');
|
|
||||||
|
|
||||||
$maker = new PdfMaker($state);
|
$maker = new PdfMaker($state);
|
||||||
|
|
||||||
@ -941,7 +934,6 @@ class PdfMakerDesignsTest extends TestCase
|
|||||||
],
|
],
|
||||||
'variables' => array_merge([], $this->state['variables']),
|
'variables' => array_merge([], $this->state['variables']),
|
||||||
];
|
];
|
||||||
$this->markTestSkipped('STUB broken tests');
|
|
||||||
|
|
||||||
$maker = new PdfMaker($state);
|
$maker = new PdfMaker($state);
|
||||||
|
|
||||||
@ -1052,7 +1044,6 @@ class PdfMakerDesignsTest extends TestCase
|
|||||||
],
|
],
|
||||||
'variables' => array_merge([], $this->state['variables']),
|
'variables' => array_merge([], $this->state['variables']),
|
||||||
];
|
];
|
||||||
$this->markTestSkipped('STUB broken tests');
|
|
||||||
|
|
||||||
$maker = new PdfMaker($state);
|
$maker = new PdfMaker($state);
|
||||||
|
|
||||||
|
@ -18,8 +18,6 @@ class PdfMakerTest extends TestCase
|
|||||||
|
|
||||||
public function testDesignLoadsCorrectly()
|
public function testDesignLoadsCorrectly()
|
||||||
{
|
{
|
||||||
$this->markTestSkipped('STUB broken tests');
|
|
||||||
|
|
||||||
$maker = new PdfMaker($this->state);
|
$maker = new PdfMaker($this->state);
|
||||||
|
|
||||||
$maker->design(ExampleDesign::class);
|
$maker->design(ExampleDesign::class);
|
||||||
@ -29,8 +27,6 @@ class PdfMakerTest extends TestCase
|
|||||||
|
|
||||||
public function testHtmlDesignLoadsCorrectly()
|
public function testHtmlDesignLoadsCorrectly()
|
||||||
{
|
{
|
||||||
$this->markTestSkipped('STUB broken tests');
|
|
||||||
|
|
||||||
$maker = new PdfMaker($this->state);
|
$maker = new PdfMaker($this->state);
|
||||||
|
|
||||||
$maker
|
$maker
|
||||||
@ -42,8 +38,6 @@ class PdfMakerTest extends TestCase
|
|||||||
|
|
||||||
public function testGetSectionUtility()
|
public function testGetSectionUtility()
|
||||||
{
|
{
|
||||||
$this->markTestSkipped('STUB broken tests');
|
|
||||||
|
|
||||||
$maker = new PdfMaker($this->state);
|
$maker = new PdfMaker($this->state);
|
||||||
|
|
||||||
$maker
|
$maker
|
||||||
@ -55,8 +49,6 @@ class PdfMakerTest extends TestCase
|
|||||||
|
|
||||||
public function testTableAttributesAreInjected()
|
public function testTableAttributesAreInjected()
|
||||||
{
|
{
|
||||||
$this->markTestSkipped('STUB broken tests');
|
|
||||||
|
|
||||||
$state = [
|
$state = [
|
||||||
'template' => [
|
'template' => [
|
||||||
'product-table' => [
|
'product-table' => [
|
||||||
@ -93,8 +85,6 @@ class PdfMakerTest extends TestCase
|
|||||||
|
|
||||||
public function testVariablesAreReplaced()
|
public function testVariablesAreReplaced()
|
||||||
{
|
{
|
||||||
$this->markTestSkipped('STUB broken tests');
|
|
||||||
|
|
||||||
|
|
||||||
$state = [
|
$state = [
|
||||||
'template' => [
|
'template' => [
|
||||||
@ -133,8 +123,6 @@ class PdfMakerTest extends TestCase
|
|||||||
|
|
||||||
public function testElementContentIsGenerated()
|
public function testElementContentIsGenerated()
|
||||||
{
|
{
|
||||||
$this->markTestSkipped('STUB broken tests');
|
|
||||||
|
|
||||||
|
|
||||||
$state = [
|
$state = [
|
||||||
'template' => [
|
'template' => [
|
||||||
@ -184,8 +172,6 @@ class PdfMakerTest extends TestCase
|
|||||||
|
|
||||||
public function testConditionalRenderingOfElements()
|
public function testConditionalRenderingOfElements()
|
||||||
{
|
{
|
||||||
$this->markTestSkipped('STUB broken tests');
|
|
||||||
|
|
||||||
|
|
||||||
$maker1 = new PdfMaker([
|
$maker1 = new PdfMaker([
|
||||||
'template' => [
|
'template' => [
|
||||||
@ -226,8 +212,6 @@ class PdfMakerTest extends TestCase
|
|||||||
|
|
||||||
public function testOrderingElements()
|
public function testOrderingElements()
|
||||||
{
|
{
|
||||||
$this->markTestSkipped('STUB broken tests');
|
|
||||||
|
|
||||||
|
|
||||||
$maker = new PdfMaker([
|
$maker = new PdfMaker([
|
||||||
'template' => [
|
'template' => [
|
||||||
@ -286,8 +270,6 @@ class PdfMakerTest extends TestCase
|
|||||||
|
|
||||||
public function testGeneratingPdf()
|
public function testGeneratingPdf()
|
||||||
{
|
{
|
||||||
$this->markTestSkipped('STUB broken tests');
|
|
||||||
|
|
||||||
|
|
||||||
$state = [
|
$state = [
|
||||||
'template' => [
|
'template' => [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user