Skip to content
This repository was archived by the owner on Jun 18, 2019. It is now read-only.

Commit 1529530

Browse files
committed
Cleaned up tests.
1 parent e7d5b74 commit 1529530

File tree

1 file changed

+1
-14
lines changed

1 file changed

+1
-14
lines changed

tests/TestCoreModelExtension.php

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ public function it_deletes_translations()
133133
/**
134134
* @test
135135
*/
136-
public function it_does_not_delete_translations_when_attempting_to_delete_object_fails()
136+
public function it_does_not_delete_translations_when_attempting_to_delete_translatable()
137137
{
138138
$country = Country::find(1);
139139
$countryId = $country->id;
@@ -151,19 +151,6 @@ public function it_does_not_delete_translations_when_attempting_to_delete_object
151151
$this->assertEquals(4, count($translations));
152152
}
153153

154-
/**
155-
* @test
156-
*/
157-
public function it_does_not_delete_translations_while_soft_deleting()
158-
{
159-
$country = CountryStrict::find(1);
160-
$before = CountryTranslation::where('country_id', '=', 1)->get();
161-
$country->delete();
162-
163-
$after = CountryTranslation::where('country_id', '=', 1)->get();
164-
$this->assertEquals(count($before), count($after));
165-
}
166-
167154
/**
168155
* @test
169156
*/

0 commit comments

Comments
 (0)