koel/tests/Feature/V6/DataTest.php

26 lines
557 B
PHP
Raw Normal View History

2022-07-26 20:27:32 +00:00
<?php
namespace Tests\Feature\V6;
class DataTest extends TestCase
{
public function testIndex(): void
{
$this->getAsUser('/api/data')->assertJsonStructure([
'settings',
'playlists',
'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',
]);
}
}