Commit a1547766 by Johnny Theill

Update test-fixture.md

small typo
parent 236abe32
...@@ -164,7 +164,7 @@ fixtures that are applied to ALL or many test cases. An example is [[yii\test\In ...@@ -164,7 +164,7 @@ fixtures that are applied to ALL or many test cases. An example is [[yii\test\In
two things: two things:
* Perform some common initialization tasks by executing a script located at `@app/tests/fixtures/initdb.php`; * Perform some common initialization tasks by executing a script located at `@app/tests/fixtures/initdb.php`;
* Disable the database integrity check before loading other DB fixtures, and re-enable it after other DB fixtures are unloead. * Disable the database integrity check before loading other DB fixtures, and re-enable it after other DB fixtures are unloaded.
Using global fixtures is similar to using non-global ones. The only difference is that you declare these fixtures Using global fixtures is similar to using non-global ones. The only difference is that you declare these fixtures
in [[yii\codeception\TestCase::globalFixtures()]] instead of `fixtures()`. When a test case loads fixtures, it will in [[yii\codeception\TestCase::globalFixtures()]] instead of `fixtures()`. When a test case loads fixtures, it will
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment