mirror of
https://github.com/d-fi/d-fi-core.git
synced 2025-07-26 23:24:35 +02:00
verify user
This commit is contained in:
parent
cdeff63b85
commit
1d92cf775b
@ -11,7 +11,16 @@ const SNG_ID = '3135556';
|
|||||||
// Discovery by Daft Punk
|
// Discovery by Daft Punk
|
||||||
const ALB_ID = '302127';
|
const ALB_ID = '302127';
|
||||||
|
|
||||||
test.serial('GET TRACK INFO', async (t) => {
|
test.serial('GET USER INFO', async (t) => {
|
||||||
|
const response = await api.getUser();
|
||||||
|
|
||||||
|
t.truthy(response.BLOG_NAME);
|
||||||
|
t.truthy(response.EMAIL);
|
||||||
|
t.truthy(response.USER_ID);
|
||||||
|
t.is(response.__TYPE__, 'user');
|
||||||
|
});
|
||||||
|
|
||||||
|
test('GET TRACK INFO', async (t) => {
|
||||||
const response = await api.getTrackInfo(SNG_ID);
|
const response = await api.getTrackInfo(SNG_ID);
|
||||||
|
|
||||||
t.is(response.SNG_ID, SNG_ID);
|
t.is(response.SNG_ID, SNG_ID);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user