wantTo('Manage station playlists via API.'); $station = $this->getTestStation(); $this->testCrudApi( $I, '/api/station/' . $station->getId() . '/playlists', [ 'name' => 'General Rotation Playlist', 'source' => PlaylistSources::Songs->value, 'type' => PlaylistTypes::Standard->value, 'weight' => 5, ], [ 'name' => 'Modified Playlist', 'type' => PlaylistTypes::Advanced->value, ] ); } }