File tree Expand file tree Collapse file tree 4 files changed +1
-53
lines changed
app/code/Magento/Captcha/Test/Unit
framework/Magento/TestFramework/Captcha Expand file tree Collapse file tree 4 files changed +1
-53
lines changed Original file line number Diff line number Diff line change @@ -53,10 +53,6 @@ protected function setUp()
53
53
*/
54
54
public function testGetCaptcha ()
55
55
{
56
- if (!function_exists ("imageftbbox " )) {
57
- $ this ->markTestSkipped ('imageftbbox is not available on the test environment ' );
58
- }
59
-
60
56
$ this ->configMock ->expects (
61
57
$ this ->once ()
62
58
)->method (
Original file line number Diff line number Diff line change @@ -88,9 +88,6 @@ class DefaultTest extends \PHPUnit_Framework_TestCase
88
88
*/
89
89
protected function setUp ()
90
90
{
91
- if (!function_exists ("imageftbbox " )) {
92
- $ this ->markTestSkipped ('imageftbbox is not available on the test environment ' );
93
- }
94
91
$ this ->session = $ this ->_getSessionStub ();
95
92
96
93
$ this ->_storeManager = $ this ->getMock (
Original file line number Diff line number Diff line change 22
22
\Magento \Framework \App \ResourceConnection \ConnectionAdapterInterface::class =>
23
23
\Magento \TestFramework \Db \ConnectionAdapter::class,
24
24
\Magento \Framework \Filesystem \DriverInterface::class => \Magento \Framework \Filesystem \Driver \File::class,
25
- \Magento \Framework \App \Config \ScopeConfigInterface::class => \Magento \TestFramework \App \Config::class,
26
- \Magento \Captcha \Model \DefaultModel::class => \Magento \TestFramework \Captcha \DefaultModel::class,
25
+ \Magento \Framework \App \Config \ScopeConfigInterface::class => \Magento \TestFramework \App \Config::class
27
26
];
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments