NEO-122: gdformat quest_hud_controller_test.gd.
parent
46e24d35d6
commit
bfded69b3b
|
|
@ -190,9 +190,7 @@ func test_request_accept_shows_busy_feedback() -> void:
|
||||||
var accept_label: Label = built["accept_label"]
|
var accept_label: Label = built["accept_label"]
|
||||||
controller.call("_request_accept", QuestHudController.GATHER_QUEST_ID)
|
controller.call("_request_accept", QuestHudController.GATHER_QUEST_ID)
|
||||||
# Act
|
# Act
|
||||||
var started: bool = bool(
|
var started: bool = bool(controller.call("_request_accept", QuestHudController.GATHER_QUEST_ID))
|
||||||
controller.call("_request_accept", QuestHudController.GATHER_QUEST_ID)
|
|
||||||
)
|
|
||||||
# Assert
|
# Assert
|
||||||
assert_bool(started).is_false()
|
assert_bool(started).is_false()
|
||||||
assert_str(accept_label.text).contains("busy")
|
assert_str(accept_label.text).contains("busy")
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue