diff options
author | Chocobozzz <me@florianbigard.com> | 2018-08-17 15:45:42 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-08-27 09:41:54 +0200 |
commit | 8a19bee1a1ee39f973bb37429e4f73c3f2873cdb (patch) | |
tree | 33c93ef19451d7e46d4be74ce0681359d2dcc70e /server/tests/real-world/populate-database.ts | |
parent | 965c4b22d0e4d2f853501e844e6ebbb861bd389d (diff) | |
download | PeerTube-8a19bee1a1ee39f973bb37429e4f73c3f2873cdb.tar.gz PeerTube-8a19bee1a1ee39f973bb37429e4f73c3f2873cdb.tar.zst PeerTube-8a19bee1a1ee39f973bb37429e4f73c3f2873cdb.zip |
Add ability to set a name to a channel
Diffstat (limited to 'server/tests/real-world/populate-database.ts')
-rw-r--r-- | server/tests/real-world/populate-database.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/server/tests/real-world/populate-database.ts b/server/tests/real-world/populate-database.ts index d41ac8d36..a7fdbd1dc 100644 --- a/server/tests/real-world/populate-database.ts +++ b/server/tests/real-world/populate-database.ts | |||
@@ -66,6 +66,7 @@ function getRandomInt (min, max) { | |||
66 | 66 | ||
67 | function createCustomChannel (server: ServerInfo) { | 67 | function createCustomChannel (server: ServerInfo) { |
68 | const videoChannel = { | 68 | const videoChannel = { |
69 | name: Date.now().toString(), | ||
69 | displayName: Date.now().toString(), | 70 | displayName: Date.now().toString(), |
70 | description: Date.now().toString() | 71 | description: Date.now().toString() |
71 | } | 72 | } |