Skip to content

Commit

Permalink
Merge pull request #4435 from brave-intl/fix/broken-publisher-balance…
Browse files Browse the repository at this point in the history
…-test

Fix broken balance test
  • Loading branch information
jlbyrne committed May 13, 2024
2 parents 7053b23 + 9631a15 commit ce06c1d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions test/helpers/publishers_helper_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,14 @@ def selected_wallet_provider
)
assert_not_nil publisher.wallet
assert_equal "~ 9.66 USD", publisher_converted_overall_balance(publisher)
assert_equal "0.00", publisher_overall_bat_balance(publisher)
def publisher.only_user_funds?
false
end

def publisher.allowed_to_create_referrals?
true
end
assert_equal "58.22", publisher_overall_bat_balance(publisher)

publisher = FakePublisher.new(
Expand Down

0 comments on commit ce06c1d

Please sign in to comment.