Respond to a q=config
request
This commit is contained in:
parent
128f649722
commit
a9d30c3a57
2 changed files with 25 additions and 0 deletions
|
@ -59,6 +59,12 @@ class MicropubTest extends TestCase
|
|||
$this->see('[]');
|
||||
}
|
||||
|
||||
public function testMicropubRequestForConfig()
|
||||
{
|
||||
$this->call('GET', $this->appurl . '/api/post', ['q' => 'config'], [], [], ['HTTP_Authorization' => 'Bearer ' . $this->getToken()]);
|
||||
$this->seeJson(['uid' => 'https://twitter.com/jonnybarnes']);
|
||||
}
|
||||
|
||||
public function testMicropubRequestCreateNewNote()
|
||||
{
|
||||
$faker = \Faker\Factory::create();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue