Skip to content

Commit

Permalink
Update BehaviorKit_test.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
YannLocatelli committed Dec 14, 2023
1 parent 55e4556 commit 87c4d6e
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions libs/BehaviorKit/tests/BehaviorKit_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,11 @@ TEST_F(BehaviorKitTest, startBehaviorIDNotRegistered)
});
behaviorkit.registerBehaviors(behaviors);

EXPECT_CALL(mock_behavior_a, id);
EXPECT_CALL(mock_behavior_b, id);
auto behavior_a_id = BehaviorID {1};
auto behavior_b_id = BehaviorID {2};

EXPECT_CALL(mock_behavior_a, id).WillOnce(Return(behavior_a_id));
EXPECT_CALL(mock_behavior_b, id).WillOnce(Return(behavior_b_id));

behaviorkit.start(3);
}
Expand Down

0 comments on commit 87c4d6e

Please sign in to comment.