create(); $this->assertTrue($postTemplate->account()->exists()); } /** @test */ public function it_has_many_sections(): void { $postTemplate = PostTemplate::factory()->create(); PostTemplateSection::factory()->create([ 'post_template_id' => $postTemplate->id, ]); $this->assertTrue($postTemplate->postTemplateSections()->exists()); } }