mirror of
https://github.com/wkulhanek/bonob.git
synced 2025-12-21 17:33:29 +01:00
Tests for /register
This commit is contained in:
@@ -7,8 +7,8 @@ const randomInt = (max: number) => Math.floor(Math.random() * max);
|
||||
const randomIpAddress = () => `127.0.${randomInt(255)}.${randomInt(255)}`;
|
||||
|
||||
export const aService = (fields: Partial<Service> = {}): Service => ({
|
||||
name: `Test Music Service ${uuid()}`,
|
||||
sid: randomInt(500),
|
||||
name: `Test Music Service ${uuid()}`,
|
||||
uri: "https://sonos-test.example.com/",
|
||||
secureUri: "https://sonos-test.example.com/",
|
||||
strings: {
|
||||
|
||||
Reference in New Issue
Block a user