mirror of
https://framagit.org/hubzilla/core.git
synced 2026-06-21 00:52:33 -04:00
Drop create_identity from Zotfinger test
This commit is contained in:
@@ -104,15 +104,9 @@ class ZotfingerTest extends UnitTestCase
|
||||
$_SERVER['CONTENT_LENGTH'] = 42;
|
||||
|
||||
|
||||
$result = create_identity([
|
||||
'account_id' => $this->fixtures['account'][0]['account_id'],
|
||||
'name' => 'Test User',
|
||||
'nickname' => 'testuser',
|
||||
]);
|
||||
$channel = $this->fixtures['channel'][0];
|
||||
|
||||
$this->assertTrue($result['success']);
|
||||
|
||||
$testresult = Zotfinger::exec('https://example.test/some-resource', $result['channel']);
|
||||
$testresult = Zotfinger::exec('https://example.test/some-resource', $channel);
|
||||
|
||||
//
|
||||
// Verify that the json payload has been decoded
|
||||
|
||||
Reference in New Issue
Block a user