Transition to using a json column for all external urls of a place
This commit is contained in:
parent
31ae5b749b
commit
4afb6a3ae9
4 changed files with 47 additions and 10 deletions
|
@ -44,7 +44,7 @@ class SwarmTest extends TestCase
|
|||
->assertStatus(201)
|
||||
->assertJson(['response' => 'created']);
|
||||
$this->assertDatabaseHas('places', [
|
||||
'foursquare' => 'https://foursquare.com/v/123456'
|
||||
'external_urls' => '{"foursquare": "https://foursquare.com/v/123456"}'
|
||||
]);
|
||||
$this->assertDatabaseHas('notes', [
|
||||
'swarm_url' => 'https://www.swarmapp.com/checkin/abc'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue