Browse Source

small typo fix

tags/2.0.0-beta
Mark 11 years ago
parent
commit
f0d6b56033
  1. 6
      extensions/codeception/README.md

6
extensions/codeception/README.md

@ -13,7 +13,7 @@ and application destroy after each test. You can configure your application by t
methods and assertions are available. methods and assertions are available.
```php ```php
SomeConsoleTestTest extends yii\codeception\TestCase SomeConsoleTest extends yii\codeception\TestCase
{ {
# by default it is @tests/unit/_bootstrap.php which holds some basic things like: # by default it is @tests/unit/_bootstrap.php which holds some basic things like:
# including composer autoload, include BaseYii class. # including composer autoload, include BaseYii class.
@ -51,7 +51,7 @@ SomeDebugTest extends yii\codeception\TestCase
public function testSmth() public function testSmth()
{ {
Debug::debug('some my string); Debug::debug('some my string');
Debug::debug($someArray); Debug::debug($someArray);
Debug::debug($someObject); Debug::debug($someObject);
} }
@ -62,7 +62,7 @@ SomeDebugTest extends yii\codeception\TestCase
Then run command ```php codecept.phar run --debug unit/SomeDebugTest``` (Codeception also available through composer) and you will see in output: Then run command ```php codecept.phar run --debug unit/SomeDebugTest``` (Codeception also available through composer) and you will see in output:
```html ```html
some string some my string
Array Array
( (

Loading…
Cancel
Save