Drop create_identity from Zotfinger test

This commit is contained in:
Harald Eilertsen
2025-11-16 22:14:33 +01:00
parent dc255a4ecf
commit 3abd764512

View File

@@ -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