chore: remove old method to delete all information about a contact (#3535)
This commit is contained in:
@@ -816,21 +816,6 @@ class ContactTest extends FeatureTestCase
|
||||
);
|
||||
}
|
||||
|
||||
/** @test */
|
||||
public function it_deletes_everything_about_the_contact()
|
||||
{
|
||||
$account = factory(Account::class)->create([]);
|
||||
$contact = factory(Contact::class)->create(['account_id' => $account->id]);
|
||||
$contact->save();
|
||||
$id = $contact->id;
|
||||
|
||||
$this->assertEquals(1, Contact::where('id', $id)->count());
|
||||
|
||||
$contact->deleteEverything();
|
||||
|
||||
$this->assertEquals(0, Contact::where('id', $id)->count());
|
||||
}
|
||||
|
||||
/** @test */
|
||||
public function it_updates_stay_in_touch_frequency()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user