Leave the image data out of the story lists.

A page of 50 stories read 50 images from the database only to see which stories had one.
This commit is contained in:
tim
2026-09-26 15:27:51 +02:00
parent ed8918e7fd
commit c8030b759d
4 changed files with 41 additions and 12 deletions
+1 -1
View File
@@ -105,7 +105,7 @@ class SubmitTest extends PageTestCase {
$this->assertStringNotContainsString('author@example.org', $page['body']);
$this->assertStringNotContainsString('Live one', $page['body']);
}
$this->assertSame(array(), $this->queries('/^SELECT \* FROM xxx/'));
$this->assertSame(array(), $this->queries('/^SELECT id, title, .* FROM xxx/'));
}
public function testAPostWithoutTheTokenOnlyGetsAPreview(): void {