We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dd7fd47 commit 70e9c14Copy full SHA for 70e9c14
tests/FQ/Tests/Query/FilesQueryTest.php
@@ -198,6 +198,12 @@ public function testRunQueryAndLoadFileAfterwards() {
198
$query->load();
199
$this->assertTrue(class_exists('File2'));
200
}
201
+ public function testRunQueryAndLoadJustOneFileAfterwards() {
202
+ $query = $this->query();
203
+ $this->runQuery('File1');
204
+ $query->load(1);
205
+ $this->assertTrue(class_exists('File2'));
206
+ }
207
public function testRunQueryAndLoadFileAfterwardsButFails() {
208
$this->setExpectedException('FQ\Exceptions\FileQueryException', 'Loading files requires the filter "existing"');
209
$query = $this->query();
0 commit comments