@@ -367,7 +367,7 @@ describe('$location', function() {
367
367
368
368
369
369
it ( 'should throw error when invalid server url given' , function ( ) {
370
- var locationUrl = new LocationHtml5Url ( 'http://server.org/base/abc' , 'http://server.org/base/' , '/base' ) ;
370
+ var locationUrl = new LocationHtml5Url ( 'http://server.org/base/abc' , 'http://server.org/base/' ) ;
371
371
372
372
expect ( function ( ) {
373
373
locationUrl . $$parse ( 'http://other.server.org/path#/path' ) ;
@@ -376,7 +376,7 @@ describe('$location', function() {
376
376
377
377
378
378
it ( 'should throw error when invalid base url given' , function ( ) {
379
- var locationUrl = new LocationHtml5Url ( 'http://server.org/base/abc' , 'http://server.org/base/' , '/base' ) ;
379
+ var locationUrl = new LocationHtml5Url ( 'http://server.org/base/abc' , 'http://server.org/base/' ) ;
380
380
381
381
expect ( function ( ) {
382
382
locationUrl . $$parse ( 'http://server.org/path#/path' ) ;
@@ -2431,9 +2431,9 @@ describe('$location', function() {
2431
2431
var locationUrl , locationUmlautUrl , locationIndexUrl ;
2432
2432
2433
2433
beforeEach ( function ( ) {
2434
- locationUrl = new LocationHtml5Url ( 'http://server/pre/' , 'http://server/pre/' , 'http://server/pre/path' ) ;
2435
- locationUmlautUrl = new LocationHtml5Url ( 'http://särver/pre/' , 'http://särver/pre/' , 'http://särver/pre/path' ) ;
2436
- locationIndexUrl = new LocationHtml5Url ( 'http://server/pre/index.html' , 'http://server/pre/' , 'http://server/pre/path' ) ;
2434
+ locationUrl = new LocationHtml5Url ( 'http://server/pre/' , 'http://server/pre/' ) ;
2435
+ locationUmlautUrl = new LocationHtml5Url ( 'http://särver/pre/' , 'http://särver/pre/' ) ;
2436
+ locationIndexUrl = new LocationHtml5Url ( 'http://server/pre/index.html' , 'http://server/pre/' ) ;
2437
2437
} ) ;
2438
2438
2439
2439
it ( 'should rewrite URL' , function ( ) {
0 commit comments