Skip to content

Commit bb7581a

Browse files
committed
Update carp_backend_test.dart
1 parent d7352de commit bb7581a

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

backends/carp_backend/test/carp_backend_test.dart

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,16 @@ void main() {
7070
]),
7171
);
7272

73+
// Configure the service with the same study we will use for all testing
74+
var study = SmartphoneStudy(
75+
studyId: testStudyId,
76+
studyDeploymentId: testDeploymentId,
77+
deviceRoleName: testDeviceRoleName,
78+
);
79+
7380
// Configure the CAWS services
7481
await CarpAuthService().configure(authProperties);
75-
CarpService().configure(app);
82+
CarpService().configure(app, study);
7683

7784
// create a carp data manager in order to initialize json serialization
7885
CarpDataManager();

0 commit comments

Comments
 (0)