|
@@ -86,9 +86,9 @@ |
|
|
block discarded – undo |
|
86
|
86
|
{ |
|
87
|
87
|
return [ |
|
88
|
88
|
[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'], |
|
89
|
|
- [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'], |
|
|
89
|
+ [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'], |
|
90
|
90
|
[Uuid::uuid4(), 'A Post', 'Lorem ipsum', new Author(Uuid::uuid4(), 'Davis', '[email protected]', 'Some string', new DateTime()), [], new DateTime(), Post::class, 'no tags, published'], |
|
91
|
|
- [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)'] |
|
|
91
|
+ [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)'] |
|
92
|
92
|
]; |
|
93
|
93
|
} |
|
94
|
94
|
|