Skip to content

Commit 94f58f9

Browse files
committed
ACP2E-544::Integration test
1 parent cb512cb commit 94f58f9

File tree

1 file changed

+26
-0
lines changed
  • dev/tests/integration/testsuite/Magento/Tax/Controller/Adminhtml/System

1 file changed

+26
-0
lines changed
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
<?php
2+
/**
3+
* Copyright © Magento, Inc. All rights reserved.
4+
* See COPYING.txt for license details.
5+
*/
6+
declare(strict_types=1);
7+
8+
namespace Magento\Tax\Controller\Adminhtml\System;
9+
10+
/**
11+
* @magentoAppArea adminhtml
12+
*/
13+
class ConfigTest extends \Magento\TestFramework\TestCase\AbstractBackendController
14+
{
15+
/**
16+
* Check Additionally Show Order Total Without Tax Label
17+
*/
18+
public function testAdditionallyShowOrderTotalWithoutTax()
19+
{
20+
$this->dispatch('backend/admin/system_config/edit/section/tax/');
21+
$body = $this->getResponse()->getBody();
22+
$this->assertStringContainsString('id="tax_cart_display_grandtotal"', $body);
23+
$this->assertStringContainsString('id="tax_sales_display_grandtotal"', $body);
24+
$this->assertStringContainsString('Additionally Show Order Total Without Tax', $body);
25+
}
26+
}

0 commit comments

Comments
 (0)