Skip to content

Commit

Permalink
Fix TU
Browse files Browse the repository at this point in the history
  • Loading branch information
Stephane MEAUDRE committed Nov 13, 2023
1 parent cf69535 commit dd584ab
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/Services/GetCollectionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
use AstrobinWs\Exceptions\WsException;
use AstrobinWs\Exceptions\WsResponseException;
use AstrobinWs\Response\DTO\AstrobinError;
use AstrobinWs\Response\DTO\AstrobinResponse;
use AstrobinWs\Response\DTO\Collection\ListCollection;
use AstrobinWs\Response\DTO\Collection\ListImages;
use AstrobinWs\Response\DTO\Item\Collection;
Expand Down Expand Up @@ -149,7 +150,7 @@ public function testAddImagesInCollection(): void
$collection = $reflectionMethod->invoke($this->astrobinWs, $collection); // $this->astrobinWs->getImagesFromResource($collection);
$this->assertCount($nbItems, $collection->images);
foreach ($collection->images as $image) {
$this->assertInstanceOf(Image::class, $image);
$this->assertInstanceOf(AstrobinResponse::class, $image);
}
}

Expand Down

0 comments on commit dd584ab

Please sign in to comment.