Commit 85264176 authored by Ben Hayward's avatar Ben Hayward

Updated test title

1 merge request!331[Sprint/NuancedNumbat](fix): Allowing onchain boosts when offchain limit reached #1924
Pipeline #82789735 passed with stages
in 10 minutes and 38 seconds
......@@ -370,7 +370,7 @@ class ManagerSpec extends ObjectBehavior
$this->isBoostLimitExceededBy($boost)->shouldReturn(true);
}
public function it_should_allow_a_user_to_boost_onchain(Boost $boost)
public function it_should_allow_a_user_to_boost_onchain_when_offchain_limit_reached(Boost $boost)
{
$boostArray = [];
for ($i = 0; $i < 2; $i++) {
......@@ -384,7 +384,7 @@ class ManagerSpec extends ObjectBehavior
->shouldBeCalled()
->willReturn(true);
Di::_()->get('Config')->set('max_daily_boost_views', 10000);
Di::_()->get('Config')->set('max_daily_boost_views', 20000);
$this->isBoostLimitExceededBy($boost)->shouldReturn(false);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment