|
@@ -38,9 +38,9 @@ |
|
|
block discarded – undo |
|
38
|
38
|
{ |
|
39
|
39
|
return [ |
|
40
|
40
|
[Uuid::uuid4(), 'A Post', 'Lorem ipsum', new Author(Uuid::uuid4(), 'Davis', '[email protected]', 'Some string', new DateTime()), [], null, Post::class, 'no tags, no publish date'], |
|
41
|
|
- [Uuid::uuid4(), 'A Post', 'Lorem ipsum', new Author(Uuid::uuid4(), 'Davis', '[email protected]', 'Some string', new DateTime()), [new Tag(Uuid::uuid4(),'tag1'), new Tag(Uuid::uuid4(),'tag2')], null, Post::class, 'have tags, unpublished'], |
|
|
41
|
+ [Uuid::uuid4(), 'A Post', 'Lorem ipsum', new Author(Uuid::uuid4(), 'Davis', '[email protected]', 'Some string', new DateTime()), [new Tag(Uuid::uuid4(), 'tag1'), new Tag(Uuid::uuid4(), 'tag2')], null, Post::class, 'have tags, unpublished'], |
|
42
|
42
|
[Uuid::uuid4(), 'A Post', 'Lorem ipsum', new Author(Uuid::uuid4(), 'Davis', '[email protected]', 'Some string', new DateTime()), [], new DateTime(), Post::class, 'no tags, published'], |
|
43
|
|
- [Uuid::uuid4(), 'A Post', 'Lorem ipsum', new Author(Uuid::uuid4(), 'Davis', '[email protected]', 'Some string', new DateTime()), [new Tag(Uuid::uuid4(),'tag1'), new Tag(Uuid::uuid4(),'tag2')], new DateTime(), Post::class, 'tags, published (most common scenario)'] |
|
|
43
|
+ [Uuid::uuid4(), 'A Post', 'Lorem ipsum', new Author(Uuid::uuid4(), 'Davis', '[email protected]', 'Some string', new DateTime()), [new Tag(Uuid::uuid4(), 'tag1'), new Tag(Uuid::uuid4(), 'tag2')], new DateTime(), Post::class, 'tags, published (most common scenario)'] |
|
44
|
44
|
]; |
|
45
|
45
|
} |
|
46
|
46
|
} |