add example fixture
This commit is contained in:
parent
8fa8b8fe7c
commit
1d634c44d5
10
test/fixtures/php-fixture.inc
vendored
Normal file
10
test/fixtures/php-fixture.inc
vendored
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
$builder->category('test')->defer();
|
||||||
|
$builder->post('My post')
|
||||||
|
->date('2010-02-20')
|
||||||
|
->content('My content')
|
||||||
|
->categories('test,test2')
|
||||||
|
->metadata('field', 'value')
|
||||||
|
->tags('tag1,tag2')
|
||||||
|
->defer();
|
Loading…
Reference in New Issue
Block a user