Try and get algolia working with local phpunit
This commit is contained in:
parent
ce0f63e35e
commit
74a99576d9
2 changed files with 4 additions and 2 deletions
|
@ -63,8 +63,9 @@ class MicropubClientTest extends TestCase
|
|||
//my client has made a request to my endpoint, which then adds
|
||||
//to the db, so database transaction don’t work
|
||||
//so lets manually delete the new entry
|
||||
$newNote = \App\Note::where('note', $note);
|
||||
$newNote->forceDelete();
|
||||
$newNote = \App\Note::where('note', $note)->first();
|
||||
$newNote->unsearchable();
|
||||
$newNote->delete();
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue