Add some routing, start working on actually searching webmentions
This commit is contained in:
parent
45024faa5f
commit
02f7331c7d
@ -107,7 +107,7 @@ class SqliteGateway extends WebmentionGatewayInterface {
|
||||
SELECT * FROM webmentions
|
||||
WHERE {$keys}
|
||||
SQL;
|
||||
|
||||
|
||||
$statement = $this->connection->prepare($sql);
|
||||
$statement->execute($values);
|
||||
|
||||
|
@ -120,6 +120,10 @@ class SqliteGatewayTest extends TestCase
|
||||
"Some Author Name"
|
||||
));
|
||||
|
||||
$this->gateway->find([
|
||||
"id; DROP TABLE webmentions;" => 'whatever'
|
||||
]);
|
||||
|
||||
$this->assertCount(
|
||||
2,
|
||||
$this->gateway->find([
|
||||
|
Loading…
Reference in New Issue
Block a user