Skip to content

Commit

Permalink
Codeception 2.x compatibility change
Browse files Browse the repository at this point in the history
- WebGuy renamed to AcceptanceTester
  • Loading branch information
Marco van Est committed Dec 28, 2015
1 parent 5c37a86 commit bb1f573
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/content/formats/php-codeception.js
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,7 @@ function underscore(text) {
*/
options = {
header: '<?php\n'
+ '${variable} = new WebGuy($scenario);\n'
+ '${variable} = new AcceptanceTester($scenario);\n'
+ '${variable}->wantTo("${action}");\n'
+ '${content}\n',
testHeader: "<?php\n\n"
Expand All @@ -463,7 +463,7 @@ options = {
+ indents(2) + "public function _after() {}\n\n"
+ indents(2) + "${content}\n\n"
+ '}',
testClassHeader: 'public function ${testClass} (\Webguy ${variable})\n'
testClassHeader: 'public function ${testClass} (\AcceptanceTester ${variable})\n'
+ '{\n\n'
+ '${variable}->wantTo("${action}");\n'
+ '${content}\n'
Expand All @@ -478,7 +478,7 @@ options = {
//configForm = '<textbox id="options_nameOfTheOption"/>'

this.configForm =
'<description>Variable for WebGuy 123</description>' +
'<description>Variable for AcceptanceTester 123</description>' +
'<textbox id="options_variable" />' +
'<description>Cept</description>' +
'<textbox id="options_header" multiline="true" flex="1" rows="4"/>' +
Expand Down

0 comments on commit bb1f573

Please sign in to comment.