Skip to content

Commit ac6e745

Browse files
committed
Fixing missing email address for tests.
1 parent 311e742 commit ac6e745

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

eFormAPI/Plugins/BackendConfiguration.Pn/BackendConfiguration.Pn.Integration.Test/BackendConfigurationTaskTrackerServiceHelperTest.cs

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,8 @@ await BackendConfigurationPropertiesServiceHelper.Create(propertyCreateModel, co
7474
LanguageCode = "da",
7575
TimeRegistrationEnabled = false,
7676
UserFirstName = Guid.NewGuid().ToString(),
77-
UserLastName = Guid.NewGuid().ToString()
77+
UserLastName = Guid.NewGuid().ToString(),
78+
WorkerEmail = Guid.NewGuid().ToString() + "@test.com"
7879
};
7980
await BackendConfigurationAssignmentWorkerServiceHelper.CreateDeviceUser(deviceUserModel, core, 1,
8081
TimePlanningPnDbContext);
@@ -203,7 +204,8 @@ await BackendConfigurationPropertiesServiceHelper.Create(propertyCreateModel, co
203204
LanguageCode = "da",
204205
TimeRegistrationEnabled = false,
205206
UserFirstName = Guid.NewGuid().ToString(),
206-
UserLastName = Guid.NewGuid().ToString()
207+
UserLastName = Guid.NewGuid().ToString(),
208+
WorkerEmail = Guid.NewGuid().ToString() + "@test.com"
207209
};
208210
await BackendConfigurationAssignmentWorkerServiceHelper.CreateDeviceUser(deviceUserModel, core, 1,
209211
TimePlanningPnDbContext);
@@ -332,7 +334,8 @@ await BackendConfigurationPropertiesServiceHelper.Create(propertyCreateModel, co
332334
LanguageCode = "da",
333335
TimeRegistrationEnabled = false,
334336
UserFirstName = Guid.NewGuid().ToString(),
335-
UserLastName = Guid.NewGuid().ToString()
337+
UserLastName = Guid.NewGuid().ToString(),
338+
WorkerEmail = Guid.NewGuid().ToString() + "@test.com"
336339
};
337340
await BackendConfigurationAssignmentWorkerServiceHelper.CreateDeviceUser(deviceUserModel, core, 1,
338341
TimePlanningPnDbContext);
@@ -461,7 +464,8 @@ await BackendConfigurationPropertiesServiceHelper.Create(propertyCreateModel, co
461464
LanguageCode = "da",
462465
TimeRegistrationEnabled = false,
463466
UserFirstName = Guid.NewGuid().ToString(),
464-
UserLastName = Guid.NewGuid().ToString()
467+
UserLastName = Guid.NewGuid().ToString(),
468+
WorkerEmail = Guid.NewGuid().ToString() + "@test.com"
465469
};
466470
await BackendConfigurationAssignmentWorkerServiceHelper.CreateDeviceUser(deviceUserModel, core, 1,
467471
TimePlanningPnDbContext);

0 commit comments

Comments
 (0)