Removed confusing use of v0.1 in theme handler test

This commit is contained in:
Nazar Gargol 2019-09-18 10:27:23 +02:00
parent 38a7a66fd1
commit 5def462bf0

View File

@ -14,7 +14,7 @@ describe('Theme Handler', function () {
sinon.stub(themeService, 'getActive').callsFake(() => {
return {
engine() {
return 'v0.1';
return 'v3';
}
};
});
@ -35,7 +35,7 @@ describe('Theme Handler', function () {
should.exist(res.locals.safeVersion);
should.exist(res.locals.apiVersion);
res.locals.relativeUrl.should.equal(req.path);
res.locals.apiVersion.should.equal('v0.1');
res.locals.apiVersion.should.equal('v3');
next.called.should.be.true();
});
});