Merge pull request #2819 from BryceLTaylor/Update-Footer-Integration-Tests

Update the integration test for the Scratch Conference link in the fo…
This commit is contained in:
Bryce Taylor 2019-03-07 11:59:31 -05:00 committed by GitHub
commit 699d37e38d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -281,9 +281,9 @@ tap.test('clickScratchDayLink', options, t => {
// SCRATCH CONFERENCE
tap.test('clickScratchConferenceLink', options, t => {
const linkText = 'Scratch Conference';
const expectedHref = '/conference';
const expectedHref = '/conference/20';
clickFooterLinks(linkText).then(url => {
t.equal(url.substr(-expectedHref.length), expectedHref);
t.match(url.substr(-(expectedHref.length + 2)), expectedHref);
t.end();
});
});