Fix tests to reflect updated code

This commit is contained in:
Jonny Barnes 2020-01-26 17:44:10 +00:00
parent 3fe200ffab
commit 50e4848e46
3 changed files with 4 additions and 7 deletions

View file

@ -152,7 +152,7 @@ class SwarmTest extends TestCase
$this->assertDatabaseHas('notes', [
'swarm_url' => 'https://www.swarmapp.com/checkin/def'
]);
$this->get($response->__get('headers')->get('location'))->assertSee('round pushpin');
$this->get($response->__get('headers')->get('location'))->assertSee('📍');
}
public function test_faked_ownyourswarm_request_saves_just_post_when_error_in_checkin_data()