File tree Expand file tree Collapse file tree 6 files changed +17
-39
lines changed
dev/tests/functional/tests/app/Magento Expand file tree Collapse file tree 6 files changed +17
-39
lines changed Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" utf-8" ?>
2
+ <!--
3
+ /**
4
+ * Copyright © 2013-2017 Magento, Inc. All rights reserved.
5
+ * See COPYING.txt for license details.
6
+ */
7
+ -->
8
+ <config xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" xsi : noNamespaceSchemaLocation =" ../../../../../../vendor/magento/mtf/etc/fixture.xsd" >
9
+ <fixture name =" comment" >
10
+ <field name =" captcha" is_required =" 0" />
11
+ </fixture >
12
+ </config >
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 8
8
<config xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" xsi : noNamespaceSchemaLocation =" ../../../../../../vendor/magento/mtf/etc/variations.xsd" >
9
9
<testCase name =" Magento\Captcha\Test\TestCase\CaptchaOnContactUsTest" summary =" Check CAPTCHA on Contact Us Page" ticketId =" MAGETWO-43609" >
10
10
<variation name =" CaptchaOnContactUsTestVariation1" >
11
- <data name =" comment/dataset" xsi : type =" string" >comment_with_captcha</data >
11
+ <data name =" comment/data/comment" xsi : type =" string" >some comment</data >
12
+ <data name =" comment/data/captcha" xsi : type =" string" >111</data >
13
+ <data name =" comment/data/customer/dataset" xsi : type =" string" >default</data >
12
14
<data name =" configData" xsi : type =" string" >captcha_storefront_contact_us</data >
13
15
<constraint name =" Magento\Contact\Test\Constraint\AssertContactUsSuccessMessage" />
14
16
</variation >
Original file line number Diff line number Diff line change 11
11
repository_class =" Magento\Contact\Test\Repository\Comment"
12
12
class =" Magento\Contact\Test\Fixture\Comment" >
13
13
<field name =" comment" is_required =" 0" />
14
- <field name =" captcha" is_required =" 0" />
15
14
<field name =" customer" is_required =" 0" source =" Magento\Contact\Test\Fixture\Comment\Customer" />
16
15
</fixture >
17
16
</config >
Original file line number Diff line number Diff line change @@ -49,6 +49,7 @@ public function __construct(
49
49
$ this ->fixtureFactory = $ fixtureFactory ;
50
50
$ this ->params = $ params ;
51
51
$ this ->fixtureData = $ data ;
52
+ $ this ->data = $ data ;
52
53
}
53
54
54
55
/**
@@ -71,8 +72,8 @@ public function getData($key = null)
71
72
$ customer ->persist ();
72
73
}
73
74
$ this ->customer = $ customer ;
75
+ $ this ->data = $ customer ->getData ();
74
76
}
75
- $ this ->data = $ customer ->getData ();
76
77
77
78
return parent ::getData ($ key );
78
79
}
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments