Skip to content

Commit d2328cf

Browse files
changed parameter casing
1 parent 26172de commit d2328cf

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

test/unit/GoogleAnalyticsEventProcessor/constructor_test.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ describe('The `constructor` of GoogleAnalyticsEventProcessor', () => {
99
const currentDebug = logging.DEBUG;
1010

1111
const defaultAutomaticParams = {
12-
'page_path': true,
13-
'page_location': true,
14-
'page_title': true,
15-
'userId': true,
16-
'clientId': true,
12+
'page_path': 'page_path',
13+
'page_location': 'page_location',
14+
'page_title': 'page_title',
15+
'user_id': 'userId',
16+
'client_id': 'clientId',
1717
};
1818

1919
it('does not have a default arguments for ' +
@@ -72,8 +72,8 @@ describe('The `constructor` of GoogleAnalyticsEventProcessor', () => {
7272
automatic_params: ['custom_param'],
7373
});
7474

75-
expect(eventProcessor.automaticParams_['clientId']).toBeTrue();
76-
expect(eventProcessor.automaticParams_['custom_param']).toBeTrue();
75+
expect(eventProcessor.automaticParams_['client_id']).toBeTruthy();
76+
expect(eventProcessor.automaticParams_['custom_param']).toBeTruthy();
7777
});
7878

7979
describe('when debug mode is enabled', () => {

0 commit comments

Comments
 (0)