Skip to content

Commit

Permalink
TU property uploaded
Browse files Browse the repository at this point in the history
  • Loading branch information
Stephane MEAUDRE committed Nov 9, 2023
1 parent a1fd801 commit ab2a9ae
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/Response/DTO/Item/ImageTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,12 @@ public function testPropertiesExist(): void
sort($props);
$this->assertEquals(self::$expectedProperties, $props);
}

public function testUploadedProperty(): void
{
$image = new Image();
$image->uploaded = '2022-09-22T11:20:22.584072';
$this->assertInstanceOf(\DateTime::class, $image->getUploaded());
}
}

0 comments on commit ab2a9ae

Please sign in to comment.