@@ -143,14 +143,14 @@ public function testAssertTableEntriesCountWrong()
143
143
$ this ->assertDatabaseCount ($ this ->table , 3 );
144
144
}
145
145
146
- public function testAssertDeletedPassesWhenDoesNotFindResults ()
146
+ public function testAssertDatabaseMissingPassesWhenDoesNotFindResults ()
147
147
{
148
148
$ this ->mockCountBuilder (0 );
149
149
150
150
$ this ->assertDatabaseMissing ($ this ->table , $ this ->data );
151
151
}
152
152
153
- public function testAssertDeletedFailsWhenFindsResults ()
153
+ public function testAssertDatabaseMissingFailsWhenFindsResults ()
154
154
{
155
155
$ this ->expectException (ExpectationFailedException::class);
156
156
@@ -161,17 +161,6 @@ public function testAssertDeletedFailsWhenFindsResults()
161
161
$ this ->assertDatabaseMissing ($ this ->table , $ this ->data );
162
162
}
163
163
164
- public function testAssertDeletedPassesWhenDoesNotFindModelResults ()
165
- {
166
- $ this ->data = ['id ' => 1 ];
167
-
168
- $ builder = $ this ->mockCountBuilder (0 );
169
-
170
- $ builder ->shouldReceive ('get ' )->andReturn (collect ());
171
-
172
- $ this ->assertDeleted (new ProductStub ($ this ->data ));
173
- }
174
-
175
164
public function testAssertModelMissingPassesWhenDoesNotFindModelResults ()
176
165
{
177
166
$ this ->data = ['id ' => 1 ];
@@ -183,19 +172,6 @@ public function testAssertModelMissingPassesWhenDoesNotFindModelResults()
183
172
$ this ->assertModelMissing (new ProductStub ($ this ->data ));
184
173
}
185
174
186
- public function testAssertDeletedFailsWhenFindsModelResults ()
187
- {
188
- $ this ->expectException (ExpectationFailedException::class);
189
-
190
- $ this ->data = ['id ' => 1 ];
191
-
192
- $ builder = $ this ->mockCountBuilder (1 );
193
-
194
- $ builder ->shouldReceive ('get ' )->andReturn (collect ([$ this ->data ]));
195
-
196
- $ this ->assertDeleted (new ProductStub ($ this ->data ));
197
- }
198
-
199
175
public function testAssertSoftDeletedInDatabaseFindsResults ()
200
176
{
201
177
$ this ->mockCountBuilder (1 );
0 commit comments