Skip to content

Commit 8d77e8b

Browse files
committed
Fix integration test
1 parent bc62e48 commit 8d77e8b

File tree

1 file changed

+2
-2
lines changed
  • dev/tests/integration/testsuite/Magento/Sales/Block/Order/PrintOrder

1 file changed

+2
-2
lines changed

dev/tests/integration/testsuite/Magento/Sales/Block/Order/PrintOrder/InvoiceTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,11 +125,11 @@ public function testPrintInvoice(): void
125125
Xpath::getElementsCountForXpath(
126126
sprintf(
127127
"//div[contains(@class, 'order-title')]/strong[contains(text(), '%s')]",
128-
__('Invoice #%1', (int)$invoice->getIncrementId())
128+
__('Invoice #%1', $invoice->getIncrementId())
129129
),
130130
$blockHtml
131131
),
132-
sprintf('Title for %s was not found.', __('Invoice #%1', (int)$invoice->getIncrementId()))
132+
sprintf('Title for %s was not found.', __('Invoice #%1', $invoice->getIncrementId()))
133133
);
134134
$this->assertOrderInformation($order, $blockHtml);
135135
}

0 commit comments

Comments
 (0)