Skip to content

Commit 16cd4fd

Browse files
committed
MAGETWO-56197: Write functional test for MAGETWO-47822
- fixing code styles.
1 parent 392925a commit 16cd4fd

File tree

3 files changed

+19
-7
lines changed

3 files changed

+19
-7
lines changed

dev/tests/functional/tests/app/Magento/Config/Test/Block/System/Config/AdminForm.php

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,18 @@
11
<?php
2+
/**
3+
* Copyright © 2016 Magento. All rights reserved.
4+
* See COPYING.txt for license details.
5+
*/
26

37
namespace Magento\Config\Test\Block\System\Config;
48

59
use Magento\Mtf\Block\Form;
610
use Magento\Mtf\Client\Locator;
711

812
/**
9-
* Admin Security edit form in admin.
10-
*/
11-
/* this class needs to be created becuase we need to check for the availability of Admin account sharing settings, This is not possible using the form block class only
13+
* Admin Security form in admin configurations.
14+
*
15+
* this class needs to be created becuase we need to check for the availability of Admin account sharing settings, This is not possible using the form block class only
1216
*/
1317
class AdminForm extends Form
1418
{

dev/tests/functional/tests/app/Magento/Config/Test/TestCase/VerifyAdminAccountSharingEntityTest.php

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
11
<?php
2+
/**
3+
* Copyright © 2016 Magento. All rights reserved.
4+
* See COPYING.txt for license details.
5+
*/
26

37
namespace Magento\Config\Test\TestCase;
48

59
use Magento\Mtf\TestCase\Injectable;
610
use Magento\Config\Test\Page\Adminhtml\AdminAccountSharing;
7-
use Magento\Config\Test\Fixture\ConfigDataWithAdminAccountSharing;
811

912
/**
1013
* Steps:
@@ -49,12 +52,11 @@ public function __inject(
4952
/**
5053
* Create Verify Admin Account Sharing test.
5154
*
52-
* @param ConfigDataWithAdminAccountSharing $ConfigDataWithAdminAccountSharing
5355
* @return void
5456
*/
55-
public function test(ConfigDataWithAdminAccountSharing $ConfigDataWithAdminAccountSharing)
57+
public function test()
5658
{
5759
$this->adminAccountSharing->open();
5860

5961
}
60-
}
62+
}

dev/tests/functional/tests/app/Magento/Config/Test/TestCase/VerifyAdminAccountSharingEntityTest.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11
<?xml version="1.0" encoding="utf-8"?>
2+
<!--
3+
/**
4+
* Copyright © 2016 Magento. All rights reserved.
5+
* See COPYING.txt for license details.
6+
*/
7+
-->
28
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../../../vendor/magento/mtf/etc/variations.xsd">
39
<testCase name="Magento\Config\Test\TestCase\VerifyAdminAccountSharingEntityTest" summary="Verify admin account sharing option availability" ticketId="MAGETWO-47822">
410
<variation name="VerifyAdminAccountSharingEntityTestVariation1" summary="Verify Admin Account Sharing is available by default">

0 commit comments

Comments
 (0)