mirror of
https://github.com/koel/koel
synced 2024-12-24 03:23:06 +00:00
26 lines
585 B
PHP
26 lines
585 B
PHP
<?php
|
|
|
|
namespace Tests\Feature\V6;
|
|
|
|
class DataTest extends TestCase
|
|
{
|
|
public function testIndex(): void
|
|
{
|
|
$this->getAs('/api/data')->assertJsonStructure([
|
|
'settings',
|
|
'playlists',
|
|
'playlist_folders',
|
|
'current_user',
|
|
'use_last_fm',
|
|
'use_you_tube',
|
|
'use_i_tunes',
|
|
'allow_download',
|
|
'supports_transcoding',
|
|
'cdn_url',
|
|
'current_version',
|
|
'latest_version',
|
|
'song_count',
|
|
'song_length',
|
|
]);
|
|
}
|
|
}
|