@@ -8,7 +8,7 @@ |
||
| 8 | 8 | const NAME = 'Saved CC'; |
| 9 | 9 | const ACTION = 'Admin\Configuration\PaymentMethods\SavedCC'; |
| 10 | 10 | |
| 11 | - protected $section = 'Payment Methods/' . self::NAME; |
|
| 11 | + protected $section = 'Payment Methods/'.self::NAME; |
|
| 12 | 12 | |
| 13 | 13 | protected $settings = [ |
| 14 | 14 | 'payment_ccsave_active' => 0, |
@@ -15,7 +15,7 @@ |
||
| 15 | 15 | WebDriver $webDriver |
| 16 | 16 | ) |
| 17 | 17 | { |
| 18 | - $this->webDriver = $webDriver; |
|
| 18 | + $this->webDriver = $webDriver; |
|
| 19 | 19 | } |
| 20 | 20 | |
| 21 | 21 | public function wait() |
@@ -45,7 +45,7 @@ |
||
| 45 | 45 | $passwordElement = $this->webdriver->byXpath($this->theme->getRegisterPasswordXpath()); |
| 46 | 46 | $confirmElement = $this->webdriver->byXpath($this->theme->getRegisterConfirmPasswordXpath()); |
| 47 | 47 | $submitElement = $this->webdriver->byXpath($this->theme->getRegisterSubmitXpath()); |
| 48 | - $registerElement = $this->webdriver->byXpath($this->theme->getRegisterNewsletterXpath()); |
|
| 48 | + $registerElement = $this->webdriver->byXpath($this->theme->getRegisterNewsletterXpath()); |
|
| 49 | 49 | |
| 50 | 50 | $firstnameElement->sendKeys($this->customerIdentity->getFirstName()); |
| 51 | 51 | $lastnameElement->sendKeys($this->customerIdentity->getLastName()); |
@@ -59,7 +59,7 @@ |
||
| 59 | 59 | return; |
| 60 | 60 | } |
| 61 | 61 | // If we're logged in we don't need to do the login process. Continue along. |
| 62 | - } catch (NoSuchElementException $e ) { |
|
| 62 | + } catch (NoSuchElementException $e) { |
|
| 63 | 63 | return; |
| 64 | 64 | } |
| 65 | 65 | } |
@@ -16,7 +16,7 @@ |
||
| 16 | 16 | CustomerLogin $loginNavigator |
| 17 | 17 | |
| 18 | 18 | ) { |
| 19 | - $this->login = $login; |
|
| 19 | + $this->login = $login; |
|
| 20 | 20 | $this->loginNavigator = $loginNavigator; |
| 21 | 21 | } |
| 22 | 22 | |
@@ -12,7 +12,7 @@ |
||
| 12 | 12 | { |
| 13 | 13 | const IDENTITY = 'Customer'; |
| 14 | 14 | |
| 15 | - public $emailAddress = '[email protected]'; |
|
| 15 | + public $emailAddress = '[email protected]'; |
|
| 16 | 16 | |
| 17 | 17 | public $billingFirstName = 'Kevin'; |
| 18 | 18 | public $billingLastName = 'Schroeder'; |
@@ -17,7 +17,7 @@ |
||
| 17 | 17 | AbstractThemeConfiguration $themeConfiguration |
| 18 | 18 | ) |
| 19 | 19 | { |
| 20 | - $this->themeConfiguration = $themeConfiguration; |
|
| 20 | + $this->themeConfiguration = $themeConfiguration; |
|
| 21 | 21 | } |
| 22 | 22 | |
| 23 | 23 | public function assert() |
@@ -15,7 +15,7 @@ |
||
| 15 | 15 | AbstractThemeConfiguration $themeConfiguration |
| 16 | 16 | ) |
| 17 | 17 | { |
| 18 | - $this->themeConfiguration = $themeConfiguration; |
|
| 18 | + $this->themeConfiguration = $themeConfiguration; |
|
| 19 | 19 | } |
| 20 | 20 | |
| 21 | 21 | public function assert() |
@@ -48,9 +48,9 @@ |
||
| 48 | 48 | $test->setCategoryPath($input->getArgument('category')); |
| 49 | 49 | $test->run(); |
| 50 | 50 | $products = $test->getProductNames(); |
| 51 | - $output->writeln('Found ' . count($products) . ' products in ' . $input->getArgument('category')); |
|
| 51 | + $output->writeln('Found '.count($products).' products in '.$input->getArgument('category')); |
|
| 52 | 52 | foreach ($products as $product) { |
| 53 | - $output->writeln("\t" . trim($product)); |
|
| 53 | + $output->writeln("\t".trim($product)); |
|
| 54 | 54 | } |
| 55 | 55 | } |
| 56 | 56 | |