From 83bfcdbc66d21e08681aec38e518c601d3d49764 Mon Sep 17 00:00:00 2001 From: gino0631 Date: Sun, 30 Jul 2017 12:34:13 +0100 Subject: [PATCH] Update MetadataControllerTest.php --- tests/Controller/MetadataControllerTest.php | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/tests/Controller/MetadataControllerTest.php b/tests/Controller/MetadataControllerTest.php index f475dc4..563319e 100644 --- a/tests/Controller/MetadataControllerTest.php +++ b/tests/Controller/MetadataControllerTest.php @@ -40,5 +40,17 @@ public function testGet() { $metadata = $data['metadata']; $this->assertEquals('2017-06-26 18:11:09', $metadata['Date taken']); + $this->assertEquals('4032 x 3016', $metadata['Dimensions']); + $this->assertEquals('Xiaomi MI 6', $metadata['Camera used']); + $this->assertEquals('sagit-user 7.1.1 NMF26X V8.2.2.0.NCAMIEC release-keys', $metadata['Software']); + $this->assertEquals('f/1.8', $metadata['F-stop']); + $this->assertEquals('1/649 sec.', $metadata['Exposure time']); + $this->assertEquals('ISO-100', $metadata['ISO speed']); + $this->assertEquals('3.82 mm', $metadata['Focal length']); + $this->assertEquals('Center Weighted Average', $metadata['Metering mode']); + $this->assertEquals('No flash, compulsory', $metadata['Flash mode']); + $this->assertEquals('27', $metadata['35mm focal length']); + $this->assertEquals('N 51° 31\' 31.5836"', $metadata['GPS latitude']); + $this->assertEquals('W 0° 9\' 34.0459"', $metadata['GPS longitude']); } }