Skip to content

Commit

Permalink
Fix Orphan node in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
shomykohai committed Oct 9, 2024
1 parent 261fe96 commit 24a5cd3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/base_quest_pool_test.gd
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ func before_test() -> void:
pool.reset()
pool.add_quest(_quest)

func after() -> void:
QuestSystem.remove_pool(&"TestPool")

func test_add_quest() -> void:
assert_bool(QuestSystem.is_quest_in_pool(_quest, &"TestPool")).is_true()
Expand Down

0 comments on commit 24a5cd3

Please sign in to comment.