File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ class JobAdapterMock : public JobInterface<JobAdapterMock> {
73
73
void prepare_job_dispatch_impl (MockUpdateDataset const & /* update_data*/ ) const { /* patch base class function */ }
74
74
void setup_impl (MockUpdateDataset const & /* update_data*/ , Idx /* scenario_idx*/ ) const { ++(counter_->setup_calls ); }
75
75
void winddown_impl () const { ++(counter_->winddown_calls ); }
76
- static CalculationInfo get_calculation_info_impl () { return CalculationInfo{{" default " , 0.0 }}; }
76
+ static CalculationInfo get_calculation_info_impl () { return CalculationInfo{{LogEvent::unknown , 0.0 }}; }
77
77
void thread_safe_add_calculation_info_impl (CalculationInfo const & /* info*/ ) const {
78
78
++(counter_->thread_safe_add_calculation_info_calls );
79
79
}
@@ -346,7 +346,7 @@ TEST_CASE("Test job dispatch logic") {
346
346
handler (scenario_idx);
347
347
}
348
348
CHECK (messages[scenario_idx] == expected_message);
349
- CHECK (info.at (" default " ) == 0.0 );
349
+ CHECK (info.at (LogEvent::unknown ) == 0.0 );
350
350
}
351
351
SUBCASE (" Unknown exception" ) {
352
352
Idx const scenario_idx = 3 ; // arbitrary index
@@ -356,7 +356,7 @@ TEST_CASE("Test job dispatch logic") {
356
356
handler (scenario_idx);
357
357
}
358
358
CHECK (messages[scenario_idx] == " unknown exception" );
359
- CHECK (info.at (" default " ) == 0.0 );
359
+ CHECK (info.at (LogEvent::unknown ) == 0.0 );
360
360
}
361
361
}
362
362
SUBCASE (" Test handle_batch_exceptions" ) {
You can’t perform that action at this time.
0 commit comments