File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed
tests/Integration/Controller Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -63,34 +63,34 @@ public function testGetListsWithCurrentSessionKeyReturnsListData()
6363 $ this ->assertJsonResponseContentEquals (
6464 [
6565 [
66+ 'id ' => 1 ,
6667 'name ' => 'News ' ,
67- 'description ' => 'News (and some fun stuff) ' ,
6868 'creation_date ' => '2016-06-22T15:01:17+00:00 ' ,
69+ 'description ' => 'News (and some fun stuff) ' ,
6970 'list_position ' => 12 ,
7071 'subject_prefix ' => 'phpList ' ,
7172 'public ' => true ,
7273 'category ' => 'news ' ,
73- 'id ' => 1 ,
7474 ],
7575 [
76+ 'id ' => 2 ,
7677 'name ' => 'More news ' ,
77- 'description ' => '' ,
7878 'creation_date ' => '2016-06-22T15:01:17+00:00 ' ,
79+ 'description ' => '' ,
7980 'list_position ' => 12 ,
8081 'subject_prefix ' => '' ,
8182 'public ' => true ,
8283 'category ' => '' ,
83- 'id ' => 2 ,
8484 ],
8585 [
86+ 'id ' => 3 ,
8687 'name ' => 'Tech news ' ,
87- 'description ' => '' ,
8888 'creation_date ' => '2019-02-11T15:01:15+00:00 ' ,
89+ 'description ' => '' ,
8990 'list_position ' => 12 ,
9091 'subject_prefix ' => '' ,
9192 'public ' => true ,
9293 'category ' => '' ,
93- 'id ' => 3 ,
9494 ],
9595 ]
9696 );
@@ -129,14 +129,14 @@ public function testGetListWithCurrentSessionKeyReturnsListData()
129129
130130 $ this ->assertJsonResponseContentEquals (
131131 [
132+ 'id ' => 1 ,
132133 'name ' => 'News ' ,
133- 'description ' => 'News (and some fun stuff) ' ,
134134 'creation_date ' => '2016-06-22T15:01:17+00:00 ' ,
135+ 'description ' => 'News (and some fun stuff) ' ,
135136 'list_position ' => 12 ,
136137 'subject_prefix ' => 'phpList ' ,
137138 'public ' => true ,
138139 'category ' => 'news ' ,
139- 'id ' => 1 ,
140140 ]
141141 );
142142 }
You can’t perform that action at this time.
0 commit comments