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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user