Skip to content

Commit

Permalink
Fix test.
Browse files Browse the repository at this point in the history
Signed-off-by: Maaike Zijderveld, iolar <[email protected]>
  • Loading branch information
maaikez committed Dec 10, 2024
1 parent 54182dc commit 139ce75
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions modules/Auth/tests/reservation_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1405,14 +1405,14 @@ TEST_F(ReservationHandlerTest, check_evses_to_reserve_scenario_5) {

EXPECT_TRUE(s.available.empty());
ASSERT_EQ(s.reserved.size(), 1);
EXPECT_EQ(s.reserved.count(1), 1);
EXPECT_EQ(s.reserved.count(0), 1);

this->evses.at(0)->connectors.at(0).submit_event(ConnectorEvent::SESSION_FINISHED);
this->evses.at(1)->connectors.at(0).submit_event(ConnectorEvent::SESSION_FINISHED);

s = r.check_number_global_reservations_match_number_available_evses();

ASSERT_EQ(s.available.size(), 1);
EXPECT_EQ(s.available.count(1), 1);
EXPECT_EQ(s.available.count(0), 1);
EXPECT_TRUE(s.reserved.empty());
}

Expand Down

0 comments on commit 139ce75

Please sign in to comment.