Commit 6249bb43 authored by Mark Harding's avatar Mark Harding

(fix): test for rewards

parent 8c0117e5
No related merge requests found
Pipeline #94017958 running with stages
......@@ -59,7 +59,7 @@ class ReferralDelegateSpec extends ObjectBehavior
$this->contributionsManager->add(Argument::that(function ($contribution) {
return $contribution->getMetric() === 'referrals_welcome'
&& $contribution->getScore() === 50
&& $contribution->getScore() === 1
&& $contribution->getAmount() === 1
&& $contribution->getUser()->guid === 456
&& $contribution->getTimestamp() === strtotime('midnight') * 1000;
......
Please register or to comment