Skip to content

Commit

Permalink
Compatibility with build on 7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
eclipxe13 committed Aug 26, 2019
1 parent a6be62f commit 73b44c9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/Unit/CfdiDataBuilderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ public function testCreateTfdSourceStringWithTfd11()
{
$comprobante = Cfdi::newFromString($this->fileContents('cfdi33-valid.xml'))->getNode();
$builder = new CfdiDataBuilder();
$this->assertStringContainsString(
'|1.1|9FB6ED1A-5F37-4FEF-980A-7F8C83B51894|',
$this->assertStringStartsWith(
'||1.1|9FB6ED1A-5F37-4FEF-980A-7F8C83B51894|',
$builder->createTfdSourceString($comprobante)
);
}
Expand All @@ -93,8 +93,8 @@ public function testCreateTfdSourceStringWithTfd10()
]);

$builder = new CfdiDataBuilder();
$this->assertStringContainsString(
'|1.0|9FB6ED1A-5F37-4FEF-980A-7F8C83B51894|',
$this->assertStringStartsWith(
'||1.0|9FB6ED1A-5F37-4FEF-980A-7F8C83B51894|',
$builder->createTfdSourceString($comprobante)
);
}
Expand Down

0 comments on commit 73b44c9

Please sign in to comment.