Skip to content

Commit

Permalink
Update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
bakerkretzmar committed May 22, 2020
1 parent cbeb462 commit f4d14ed
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/js/test.route.js
Original file line number Diff line number Diff line change
Expand Up @@ -491,7 +491,7 @@ describe('route()', function() {
global.Ziggy.basePort = orgBasePort;
});

it('Should return correct URL without port when run with params on a route with required domain params', function() {
it('Should return correct URL with port when run with params on a route with required domain params', function() {
let orgBaseUrl = Ziggy.baseUrl;
let orgBaseDomain = Ziggy.baseDomain;
let orgBasePort = Ziggy.basePort;
Expand All @@ -501,11 +501,11 @@ describe('route()', function() {
global.Ziggy.basePort = 81;

assert.equal(
'http://tighten.myapp.dev/users/1',
'http://tighten.myapp.dev:81/users/1',
route('team.user.show', { team: 'tighten', id: 1 })
);
assert.equal(
'http://tighten.myapp.dev/users/1',
'http://tighten.myapp.dev:81/users/1',
route('team.user.show').with({ team: 'tighten', id: 1 })
);

Expand Down

0 comments on commit f4d14ed

Please sign in to comment.