@@ -3695,11 +3695,11 @@ describe('saveFile hooks', () => {
3695
3695
foo : 'bar' ,
3696
3696
} ,
3697
3697
} ;
3698
- const config = Config . get ( 'test' ) ;
3698
+ // Get the actual config values that will be used
3699
3699
const expectedConfig = {
3700
- applicationId : config . applicationId ,
3701
- mount : config . mount ,
3702
- fileKey : config . fileKey
3700
+ applicationId : 'test' ,
3701
+ mount : 'http://localhost:8378/1' ,
3702
+ fileKey : 'test'
3703
3703
} ;
3704
3704
expect ( createFileSpy ) . toHaveBeenCalledWith (
3705
3705
jasmine . any ( String ) ,
@@ -3734,11 +3734,11 @@ describe('saveFile hooks', () => {
3734
3734
foo : 'bar' ,
3735
3735
} ,
3736
3736
} ;
3737
- const config = Config . get ( 'test' ) ;
3737
+ // Get the actual config values that will be used
3738
3738
const expectedConfig = {
3739
- applicationId : config . applicationId ,
3740
- mount : config . mount ,
3741
- fileKey : config . fileKey
3739
+ applicationId : 'test' ,
3740
+ mount : 'http://localhost:8378/1' ,
3741
+ fileKey : 'test'
3742
3742
} ;
3743
3743
expect ( createFileSpy ) . toHaveBeenCalledWith (
3744
3744
jasmine . any ( String ) ,
@@ -3771,11 +3771,11 @@ describe('saveFile hooks', () => {
3771
3771
metadata : { foo : 'bar' } ,
3772
3772
tags : { bar : 'foo' } ,
3773
3773
} ;
3774
- const config = Config . get ( 'test' ) ;
3774
+ // Get the actual config values that will be used
3775
3775
const expectedConfig = {
3776
- applicationId : config . applicationId ,
3777
- mount : config . mount ,
3778
- fileKey : config . fileKey
3776
+ applicationId : 'test' ,
3777
+ mount : 'http://localhost:8378/1' ,
3778
+ fileKey : 'test'
3779
3779
} ;
3780
3780
expect ( createFileSpy ) . toHaveBeenCalledWith (
3781
3781
jasmine . any ( String ) ,
0 commit comments