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()
63
63
$ this ->assertJsonResponseContentEquals (
64
64
[
65
65
[
66
+ 'id ' => 1 ,
66
67
'name ' => 'News ' ,
67
- 'description ' => 'News (and some fun stuff) ' ,
68
68
'creation_date ' => '2016-06-22T15:01:17+00:00 ' ,
69
+ 'description ' => 'News (and some fun stuff) ' ,
69
70
'list_position ' => 12 ,
70
71
'subject_prefix ' => 'phpList ' ,
71
72
'public ' => true ,
72
73
'category ' => 'news ' ,
73
- 'id ' => 1 ,
74
74
],
75
75
[
76
+ 'id ' => 2 ,
76
77
'name ' => 'More news ' ,
77
- 'description ' => '' ,
78
78
'creation_date ' => '2016-06-22T15:01:17+00:00 ' ,
79
+ 'description ' => '' ,
79
80
'list_position ' => 12 ,
80
81
'subject_prefix ' => '' ,
81
82
'public ' => true ,
82
83
'category ' => '' ,
83
- 'id ' => 2 ,
84
84
],
85
85
[
86
+ 'id ' => 3 ,
86
87
'name ' => 'Tech news ' ,
87
- 'description ' => '' ,
88
88
'creation_date ' => '2019-02-11T15:01:15+00:00 ' ,
89
+ 'description ' => '' ,
89
90
'list_position ' => 12 ,
90
91
'subject_prefix ' => '' ,
91
92
'public ' => true ,
92
93
'category ' => '' ,
93
- 'id ' => 3 ,
94
94
],
95
95
]
96
96
);
@@ -129,14 +129,14 @@ public function testGetListWithCurrentSessionKeyReturnsListData()
129
129
130
130
$ this ->assertJsonResponseContentEquals (
131
131
[
132
+ 'id ' => 1 ,
132
133
'name ' => 'News ' ,
133
- 'description ' => 'News (and some fun stuff) ' ,
134
134
'creation_date ' => '2016-06-22T15:01:17+00:00 ' ,
135
+ 'description ' => 'News (and some fun stuff) ' ,
135
136
'list_position ' => 12 ,
136
137
'subject_prefix ' => 'phpList ' ,
137
138
'public ' => true ,
138
139
'category ' => 'news ' ,
139
- 'id ' => 1 ,
140
140
]
141
141
);
142
142
}
You can’t perform that action at this time.
0 commit comments