From 94d43c2b7694d6fc5d004f900ba4f2c4e4dfdf84 Mon Sep 17 00:00:00 2001 From: bnu Date: Fri, 7 Aug 2015 14:15:18 +0900 Subject: [PATCH] codecept --- tests/Install/InstallTester.php | 20 ++++++++++---------- tests/unit/UnitTester.php | 10 +++++----- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/tests/Install/InstallTester.php b/tests/Install/InstallTester.php index 1e1aef6fa..c40651039 100644 --- a/tests/Install/InstallTester.php +++ b/tests/Install/InstallTester.php @@ -1,4 +1,4 @@ -scenario->runStep(new \Codeception\Step\Action('grabCookie', func_get_args())); } @@ -1662,7 +1662,7 @@ class InstallTester extends \Codeception\Actor * Conditional Assertion: Test won't be stopped on fail * @see \Codeception\Lib\InnerBrowser::seeCookie() */ - public function canSeeCookie($name, $params = null) { + public function canSeeCookie($cookie, $params = null) { return $this->scenario->runStep(new \Codeception\Step\ConditionalAssertion('seeCookie', func_get_args())); } /** @@ -1682,7 +1682,7 @@ class InstallTester extends \Codeception\Actor * @return mixed * @see \Codeception\Lib\InnerBrowser::seeCookie() */ - public function seeCookie($name, $params = null) { + public function seeCookie($cookie, $params = null) { return $this->scenario->runStep(new \Codeception\Step\Assertion('seeCookie', func_get_args())); } @@ -1700,7 +1700,7 @@ class InstallTester extends \Codeception\Actor * Conditional Assertion: Test won't be stopped on fail * @see \Codeception\Lib\InnerBrowser::dontSeeCookie() */ - public function cantSeeCookie($name, $params = null) { + public function cantSeeCookie($cookie, $params = null) { return $this->scenario->runStep(new \Codeception\Step\ConditionalAssertion('dontSeeCookie', func_get_args())); } /** @@ -1715,7 +1715,7 @@ class InstallTester extends \Codeception\Actor * @return mixed * @see \Codeception\Lib\InnerBrowser::dontSeeCookie() */ - public function dontSeeCookie($name, $params = null) { + public function dontSeeCookie($cookie, $params = null) { return $this->scenario->runStep(new \Codeception\Step\Assertion('dontSeeCookie', func_get_args())); } @@ -1900,7 +1900,7 @@ class InstallTester extends \Codeception\Actor * Conditional Assertion: Test won't be stopped on fail * @see \Codeception\Lib\InnerBrowser::seeOptionIsSelected() */ - public function canSeeOptionIsSelected($select, $optionText) { + public function canSeeOptionIsSelected($selector, $optionText) { return $this->scenario->runStep(new \Codeception\Step\ConditionalAssertion('seeOptionIsSelected', func_get_args())); } /** @@ -1920,7 +1920,7 @@ class InstallTester extends \Codeception\Actor * @return mixed * @see \Codeception\Lib\InnerBrowser::seeOptionIsSelected() */ - public function seeOptionIsSelected($select, $optionText) { + public function seeOptionIsSelected($selector, $optionText) { return $this->scenario->runStep(new \Codeception\Step\Assertion('seeOptionIsSelected', func_get_args())); } @@ -1943,7 +1943,7 @@ class InstallTester extends \Codeception\Actor * Conditional Assertion: Test won't be stopped on fail * @see \Codeception\Lib\InnerBrowser::dontSeeOptionIsSelected() */ - public function cantSeeOptionIsSelected($select, $optionText) { + public function cantSeeOptionIsSelected($selector, $optionText) { return $this->scenario->runStep(new \Codeception\Step\ConditionalAssertion('dontSeeOptionIsSelected', func_get_args())); } /** @@ -1963,7 +1963,7 @@ class InstallTester extends \Codeception\Actor * @return mixed * @see \Codeception\Lib\InnerBrowser::dontSeeOptionIsSelected() */ - public function dontSeeOptionIsSelected($select, $optionText) { + public function dontSeeOptionIsSelected($selector, $optionText) { return $this->scenario->runStep(new \Codeception\Step\Assertion('dontSeeOptionIsSelected', func_get_args())); } diff --git a/tests/unit/UnitTester.php b/tests/unit/UnitTester.php index 3618c9542..65d410d75 100644 --- a/tests/unit/UnitTester.php +++ b/tests/unit/UnitTester.php @@ -1,4 +1,4 @@ -