feat: note
This commit is contained in:
@@ -599,7 +599,8 @@ class C2ApiTest extends TestCase
|
||||
$this->assertNotNull($note);
|
||||
$this->assertIsArray($note->content);
|
||||
$this->assertCount(2, $note->content);
|
||||
$this->assertStringContainsString('spawn rabbit', $note->content[0]);
|
||||
$this->assertSame('spawn rabbit unusual favorite yard recipe', $note->content[0]['title'] ?? null);
|
||||
$this->assertStringContainsString('spawn rabbit', $note->content[0]['body'] ?? '');
|
||||
}
|
||||
|
||||
#[Test]
|
||||
|
||||
Reference in New Issue
Block a user