diff --git a/tests/Unit/Campaigns/Migrations/MigrateFormsToCampaignFormsTest.php b/tests/Unit/Campaigns/Migrations/MigrateFormsToCampaignFormsTest.php index 22581f649a..f4f380d9dd 100644 --- a/tests/Unit/Campaigns/Migrations/MigrateFormsToCampaignFormsTest.php +++ b/tests/Unit/Campaigns/Migrations/MigrateFormsToCampaignFormsTest.php @@ -82,6 +82,7 @@ public function testUpgradedFormsAreNotMigrated() $campaign = Campaign::findByFormId($upgradedForm->id); $this->assertNotNull($relationship); + $this->assertNotNull($campaign); $this->assertEquals(0, DB::table('give_campaigns')->where('form_id', $upgradedForm->id)->count()); $this->assertEquals(1, DB::table('give_campaigns')->where('form_id', $newForm->id)->count()); $this->assertEquals(2, DB::table('give_campaign_forms')->where('campaign_id', $campaign->id)->count());