mirror of
https://github.com/owncast/owncast.git
synced 2024-10-10 19:16:02 +00:00
Update test to reflect content change
This commit is contained in:
parent
12230fe7ba
commit
cdbb3b7a03
@ -65,7 +65,7 @@ const defaultPageContent = `<h1>Welcome to Owncast!</h1>
|
|||||||
</ul>
|
</ul>
|
||||||
<hr/>
|
<hr/>
|
||||||
<video id="video" controls preload="metadata" width="40%" poster="https://videos.owncast.online/t/xaJ3xNn9Y6pWTdB25m9ai3">
|
<video id="video" controls preload="metadata" width="40%" poster="https://videos.owncast.online/t/xaJ3xNn9Y6pWTdB25m9ai3">
|
||||||
<source src="https://videos.owncast.online/v/xaJ3xNn9Y6pWTdB25m9ai3.mp4?quality=" type="video/mp4" />
|
<source src="https://assets.owncast.tv/video/owncast-embed.mp4" type="video/mp4" />
|
||||||
</video>`;
|
</video>`;
|
||||||
|
|
||||||
// new configuration for testing
|
// new configuration for testing
|
||||||
@ -246,10 +246,7 @@ test('set forbidden usernames', async (done) => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
test('set server url', async (done) => {
|
test('set server url', async (done) => {
|
||||||
const resBadURL = await failAdminRequest(
|
const resBadURL = await failAdminRequest('config/serverurl', 'not.valid.url');
|
||||||
'config/serverurl',
|
|
||||||
'not.valid.url'
|
|
||||||
);
|
|
||||||
const res = await sendAdminRequest(
|
const res = await sendAdminRequest(
|
||||||
'config/serverurl',
|
'config/serverurl',
|
||||||
newYPConfig.instanceUrl
|
newYPConfig.instanceUrl
|
||||||
|
Loading…
x
Reference in New Issue
Block a user