Commit 0eb9ff1e by Qiang Xue

Update test-fixture.md

parent 8735cdb5
......@@ -88,7 +88,7 @@ class UserProfileFixture extends ActiveFixture
public $modelClass = 'app\models\UserProfile';
public $depends = ['app\tests\fixtures\UserFixture'];
}
```
In the above, we have shown how to define a fixture about a DB table. To define a fixture not related with DB
(e.g. a fixture about certain files and directories), you may extend from the more general base class
......
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