Skip to content

Commit 1888240

Browse files
committed
test: update the users test to include the new options in the refactored users function
1 parent a3efb79 commit 1888240

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

test/integration/api/provisioning/account_spec.js

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -206,9 +206,11 @@ runOnlyForInternalPRs('account API - Provisioning', function () {
206206
[USER_ID_1],
207207
null,
208208
null,
209-
true,
210-
today,
211-
today
209+
{
210+
lastLogin: true,
211+
fromDate: today,
212+
toDate: today
213+
}
212214
);
213215
expect(result1.users.length).to.eql(0);
214216

@@ -217,7 +219,9 @@ runOnlyForInternalPRs('account API - Provisioning', function () {
217219
[USER_ID_1],
218220
null,
219221
null,
220-
false
222+
{
223+
lastLogin: false
224+
}
221225
);
222226
expect(result2.users.length).to.eql(1);
223227
});

0 commit comments

Comments
 (0)