File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
Tests/Integration/Controller Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -114,8 +114,11 @@ public function getListsWithCurrentSessionKeyReturnsListData()
114114 /**
115115 * @test
116116 */
117- public function getListMembersWithoutSessionKeyReturnsForbiddenStatus ()
117+ public function getListMembersForExistingListWithoutSessionKeyReturnsForbiddenStatus ()
118118 {
119+ $ this ->getDataSet ()->addTable (self ::LISTS_TABLE_NAME , __DIR__ . '/Fixtures/SubscriberList.csv ' );
120+ $ this ->applyDatabaseChanges ();
121+
119122 $ this ->client ->request ('get ' , '/api/v2/lists/1/members ' );
120123
121124 $ this ->assertHttpForbidden ();
@@ -124,8 +127,9 @@ public function getListMembersWithoutSessionKeyReturnsForbiddenStatus()
124127 /**
125128 * @test
126129 */
127- public function getListMembersWithExpiredSessionKeyReturnsForbiddenStatus ()
130+ public function getListMembersForExistingListWithExpiredSessionKeyReturnsForbiddenStatus ()
128131 {
132+ $ this ->getDataSet ()->addTable (self ::LISTS_TABLE_NAME , __DIR__ . '/Fixtures/SubscriberList.csv ' );
129133 $ this ->getDataSet ()->addTable (self ::ADMINISTRATOR_TABLE_NAME , __DIR__ . '/Fixtures/Administrator.csv ' );
130134 $ this ->getDataSet ()->addTable (self ::TOKEN_TABLE_NAME , __DIR__ . '/Fixtures/AdministratorToken.csv ' );
131135 $ this ->applyDatabaseChanges ();
You can’t perform that action at this time.
0 commit comments