Skip to content

Commit

Permalink
Code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
ruff committed Aug 6, 2024
1 parent d37604c commit db41c5c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/traits/HandlesProfiles.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ public function getForceDestinationProfile(): string
* Returns the profile code to force. If no profile to force is given the
* $default value will be returned
*
* @param string $defaultProfile
* @param string $defaultProfile
* @return string
*/
public function getForceDestinationProfileWithDefault(string $defaultProfile): string
Expand Down
2 changes: 1 addition & 1 deletion tests/testcases/CiiToUblTechnical3Test.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public function testDocumentGeneral(): void
$this->assertXPathValueWithIndex('/ubl:Invoice/cac:AdditionalDocumentReference/cbc:ID', 0, '01_15_Anhang_01.pdf');
$this->assertXPathNotExistsWithIndex('/ubl:Invoice/cac:AdditionalDocumentReference/cbc:DocumentTypeCode', 0);
$this->assertXPathValueWithIndex('/ubl:Invoice/cac:AdditionalDocumentReference/cbc:DocumentDescription', 0, 'Aufschlüsselung der einzelnen Leistungspositionen');
$this->assertXPathValueStartsWithIndex('/ubl:Invoice/cac:AdditionalDocumentReference/cac:Attachment/cbc:EmbeddedDocumentBinaryObject', 0,'JVBERi0xLjUNCiW1tbW1D');
$this->assertXPathValueStartsWithIndex('/ubl:Invoice/cac:AdditionalDocumentReference/cac:Attachment/cbc:EmbeddedDocumentBinaryObject', 0, 'JVBERi0xLjUNCiW1tbW1D');
$this->assertXPathNotExistsWithIndex('/ubl:Invoice/cac:AdditionalDocumentReference/cbc:ID', 1);
$this->assertXPathNotExistsWithIndex('/ubl:Invoice/cac:AdditionalDocumentReference/cbc:DocumentTypeCode', 1);
$this->assertXPathNotExistsWithIndex('/ubl:Invoice/cac:AdditionalDocumentReference/cbc:DocumentDescription', 1);
Expand Down

0 comments on commit db41c5c

Please sign in to comment.