futureproof test for conference link

This commit is contained in:
BryceLTaylor 2019-03-07 11:41:50 -05:00
parent 3132dc696e
commit 3f120ad830

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/2019';
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();
});
});