From e8b41d4a668f41bb1b5b6cf87db3e1e4cafe2537 Mon Sep 17 00:00:00 2001 From: Dmytro Vilchynskyi <dvilchynskyi@ebay.com> Date: Mon, 30 Mar 2015 13:09:35 +0300 Subject: [PATCH] MAGETWO-35091: UI improvements - fixed tests for pull request --- app/code/Magento/Payment/Test/Unit/Block/Info/CcTest.php | 2 +- .../tests/app/Magento/Theme/Test/Block/Html/Topmenu.php | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/app/code/Magento/Payment/Test/Unit/Block/Info/CcTest.php b/app/code/Magento/Payment/Test/Unit/Block/Info/CcTest.php index 98760f01eac..ca60875f86a 100644 --- a/app/code/Magento/Payment/Test/Unit/Block/Info/CcTest.php +++ b/app/code/Magento/Payment/Test/Unit/Block/Info/CcTest.php @@ -153,7 +153,7 @@ class CcTest extends \PHPUnit_Framework_TestCase public function getCcExpDateDataProvider() { return [ - [2, 2015], + [3, 2015], [12, 2011], [01, 2036] ]; diff --git a/dev/tests/functional/tests/app/Magento/Theme/Test/Block/Html/Topmenu.php b/dev/tests/functional/tests/app/Magento/Theme/Test/Block/Html/Topmenu.php index 3125e6f6f2b..817fd6e022b 100644 --- a/dev/tests/functional/tests/app/Magento/Theme/Test/Block/Html/Topmenu.php +++ b/dev/tests/functional/tests/app/Magento/Theme/Test/Block/Html/Topmenu.php @@ -60,7 +60,6 @@ class Topmenu extends Block } ); } - sleep(1); // TODO: sleep should be removed after fix with category sliding $category[0]->click(); } -- GitLab