fix js test failure

This commit is contained in:
Neil Lalonde 2017-05-18 13:36:45 -04:00
parent dbb814ec6a
commit 019f954c44
1 changed files with 2 additions and 1 deletions

View File

@ -335,7 +335,8 @@ export default function() {
this.delete('/admin/badges/:id', success);
this.get('/onebox', request => {
if (request.queryParams.url.startsWith('http://www.example.com/has-title')) {
if (request.queryParams.url === 'http://www.example.com/has-title.html' ||
request.queryParams.url === 'http://www.example.com/has-title-and-a-url-that-is-more-than-80-characters-because-thats-good-for-seo-i-guess.html') {
return [
200,
{"Content-Type": "application/html"},