Skip to content

Commit

Permalink
fix: better unit test
Browse files Browse the repository at this point in the history
no need to expect all themes to be unlocked, at least one is fine
  • Loading branch information
russmatney committed Oct 23, 2024
1 parent 55405d3 commit 7a429f3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/store/store_test.gd
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ func test_initial_store_theme_data():
# test that we get as many themes as entities
assert_that(len(themes)).is_equal(len(theme_ents))

# all themes unlocked (for now)
# at least one theme unlocked
var unlocked = themes.filter(func(ent): return ent.is_unlocked())
assert_that(len(unlocked)).is_equal(len(theme_ents))
assert_that(len(unlocked)).is_greater(0)

#########################################################################
## completing and unlocking puzzle sets
Expand Down

0 comments on commit 7a429f3

Please sign in to comment.