Skip to content

Commit aa7fd6d

Browse files
author
Dominic Tubach
committed
Fix FundingCaseManagerTest
1 parent dc1aafe commit aa7fd6d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/phpunit/Civi/Funding/FundingCase/FundingCaseManagerTest.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ function (string $eventName, $event) use ($contact): void {
304304
'recipient_contact_id' => $recipientContact2['id'],
305305
'title' => 'Title',
306306
]);
307-
static::assertNotSame($fundingCase->getId(), $fundingCase5->getId());
307+
static::assertNotSame($fundingCase->getId(), $fundingCase6->getId());
308308
}
309309

310310
public function testDelete(): void {
@@ -483,6 +483,7 @@ public function testUpdate(): void {
483483
// the events is actually fetched from the DB and not from cache.
484484
$fundingCase = $this->fundingCaseManager->get($fundingCase->getId());
485485
static::assertNotNull($fundingCase);
486+
$fundingCaseBundle = new FundingCaseBundle($fundingCase, $fundingCaseType, $fundingProgram);
486487
$previousFundingCase = clone $fundingCase;
487488

488489
$fundingCase->setStatus('updated');

0 commit comments

Comments
 (0)