Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
XmlDuplicateGenerationTest.php
Go to the documentation of this file.
1 <?php
7 
11 
13 {
14  const XML_DUPLICATE_TEST = 'XmlDuplicateTest';
15  const XML_DUPLICATE_ACTIONGROUP = 'xmlDuplicateActionGroup';
16  const XML_DUPLICATE_MERGE_TEST = 'BasicDupedActionTest';
17  const RESOURCES_PATH = __DIR__ . '/../Resources';
18 
22  public function testDuplicatesInTest()
23  {
24  TestObjectHandler::getInstance()->getObject(self::XML_DUPLICATE_TEST);
25  $this->addToAssertionCount(1); // No exception thrown thus far, can assert dupes didn't cause an error.
26  }
27 
28  public function testDuplicatesInActionGroup()
29  {
30  ActionGroupObjectHandler::getInstance()->getObject(self::XML_DUPLICATE_ACTIONGROUP);
31  $this->addToAssertionCount(1); // No exception thrown thus far, can assert dupes didn't cause an error.
32  }
33 
37  public function testDuplicatesInMergeTest()
38  {
39  TestObjectHandler::getInstance()->getObject(self::XML_DUPLICATE_MERGE_TEST);
40  $this->addToAssertionCount(1); // No exception thrown thus far, can assert dupes didn't cause an error.
41  }
42 }
defined('TESTS_BP')||define('TESTS_BP' __DIR__
Definition: _bootstrap.php:60