Update references to the stream

The stream page was replaced by the search page. Update some old
references to the stream in the tests.
parent 17592ca0
......@@ -1071,10 +1071,10 @@ describe('annotation', function() {
beforeEach('make serviceUrl() return a URL for the tag', function() {
fakeServiceUrl
.withArgs('search.tag', {tag: 'atag'})
.returns('https://test.hypothes.is/stream?q=tag:atag');
.returns('https://hypothes.is/search?q=tag:atag');
});
/*
/**
* Return an annotation directive with a single tag.
*/
function annotationWithOneTag() {
......@@ -1100,10 +1100,10 @@ describe('annotation', function() {
fakeAccountID.isThirdPartyUser.returns(false);
});
it('displays links to tags on the stream', function () {
it('displays links to tag search pages', function () {
var tagLink = tagLinkFrom(annotationWithOneTag());
assert.equal(tagLink.href, 'https://test.hypothes.is/stream?q=tag:atag');
assert.equal(tagLink.href, 'https://hypothes.is/search?q=tag:atag');
});
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment