0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00
ghost/core/test/unit/metadata
Katharina Irrgang be977a55cf 🎨 🚑 do not use testurl.com in tests (#8254)
no issue

- if we are using any random domain in our tests, it could be that the test behaviour changes over time
- in this case: the ghost_head_spec triggers a request for image diminsions (cover image, author image, blog logo)
- if the target blog url/domain can't be reached (connecting....), the timeout would be reached - but the test is not setup to handle longer waiting times
- even with https://github.com/TryGhost/Ghost/pull/8210/files, the default timeout would be 5s, which is not acceptable for a unit test
- that's why, we need to choose a blog url, which definitely is "down" - any long localhost port
2017-04-03 16:29:36 +01:00
..
amp_url_spec.js 💄 🐷 Test consistency (#8199) 2017-03-21 09:24:11 +01:00
asset_url_spec.js 💄 🐷 Test consistency (#8199) 2017-03-21 09:24:11 +01:00
author_fb_url_spec.js 💄 🐷 Test consistency (#8199) 2017-03-21 09:24:11 +01:00
author_image_spec.js 🔥 do not store settings in config (#7924) 2017-02-03 13:15:11 +00:00
author_url_spec.js 💄 🐷 Test consistency (#8199) 2017-03-21 09:24:11 +01:00
canonical_url_spec.js 💄 🐷 Test consistency (#8199) 2017-03-21 09:24:11 +01:00
context_object_spec.js 💄 🐷 Test consistency (#8199) 2017-03-21 09:24:11 +01:00
cover_image_spec.js 💄 🐷 Test consistency (#8199) 2017-03-21 09:24:11 +01:00
creator_url_spec.js 💄 🐷 Test consistency (#8199) 2017-03-21 09:24:11 +01:00
description_spec.js 💄 🐷 Test consistency (#8199) 2017-03-21 09:24:11 +01:00
excerpt_spec.js 💄 🐷 Test consistency (#8199) 2017-03-21 09:24:11 +01:00
image-dimensions_spec.js 💄 🐷 Test consistency (#8199) 2017-03-21 09:24:11 +01:00
keywords_spec.js 💄 🐷 Test consistency (#8199) 2017-03-21 09:24:11 +01:00
modified_date_spec.js 💄 🐷 Test consistency (#8199) 2017-03-21 09:24:11 +01:00
og_type_spec.js 💄 🐷 Test consistency (#8199) 2017-03-21 09:24:11 +01:00
paginated_url_spec.js 🎨 🚑 do not use testurl.com in tests (#8254) 2017-04-03 16:29:36 +01:00
published_date_spec.js 💄 🐷 Test consistency (#8199) 2017-03-21 09:24:11 +01:00
rss_url_spec.js 💄 🐷 Test consistency (#8199) 2017-03-21 09:24:11 +01:00
schema_spec.js 💄 🐷 Test consistency (#8199) 2017-03-21 09:24:11 +01:00
structured_data_spec.js 💄 🐷 Test consistency (#8199) 2017-03-21 09:24:11 +01:00
title_spec.js 💄 🐷 Test consistency (#8199) 2017-03-21 09:24:11 +01:00
url_spec.js 💄 🐷 Test consistency (#8199) 2017-03-21 09:24:11 +01:00