Skip to content

Commit a0a1782

Browse files
committed
Match the actual test keys
1 parent 623d083 commit a0a1782

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

spec/CloudCode.spec.js

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3695,11 +3695,11 @@ describe('saveFile hooks', () => {
36953695
foo: 'bar',
36963696
},
36973697
};
3698-
const config = Config.get('test');
3698+
// Get the actual config values that will be used
36993699
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'
37033703
};
37043704
expect(createFileSpy).toHaveBeenCalledWith(
37053705
jasmine.any(String),
@@ -3734,11 +3734,11 @@ describe('saveFile hooks', () => {
37343734
foo: 'bar',
37353735
},
37363736
};
3737-
const config = Config.get('test');
3737+
// Get the actual config values that will be used
37383738
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'
37423742
};
37433743
expect(createFileSpy).toHaveBeenCalledWith(
37443744
jasmine.any(String),
@@ -3771,11 +3771,11 @@ describe('saveFile hooks', () => {
37713771
metadata: { foo: 'bar' },
37723772
tags: { bar: 'foo' },
37733773
};
3774-
const config = Config.get('test');
3774+
// Get the actual config values that will be used
37753775
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'
37793779
};
37803780
expect(createFileSpy).toHaveBeenCalledWith(
37813781
jasmine.any(String),

0 commit comments

Comments
 (0)