Add puppeteer back, update search test to search for a still existing note
This commit is contained in:
parent
3965f16b1f
commit
54e21ee459
3 changed files with 3297 additions and 3160 deletions
6450
package-lock.json
generated
6450
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -9,7 +9,8 @@
|
||||||
"alertify.js": "^1.0.12",
|
"alertify.js": "^1.0.12",
|
||||||
"mapbox-gl": "^0.44.2",
|
"mapbox-gl": "^0.44.2",
|
||||||
"marked": "^0.3.19",
|
"marked": "^0.3.19",
|
||||||
"normalize.css": "^8.0.0"
|
"normalize.css": "^8.0.0",
|
||||||
|
"puppeteer": "^1.5.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@babel/core": "^7.0.0-beta.44",
|
"@babel/core": "^7.0.0-beta.44",
|
||||||
|
|
|
@ -9,7 +9,7 @@ class SearchControllerTest extends TestCase
|
||||||
{
|
{
|
||||||
public function test_search()
|
public function test_search()
|
||||||
{
|
{
|
||||||
$response = $this->get('/search?terms=wedding');
|
$response = $this->get('/search?terms=love');
|
||||||
$response->assertSee('#weddingfavour');
|
$response->assertSee('duckduckgo.com');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue