Skip to content

Commit d2f0568

Browse files
gogascabshaffer
authored andcommitted
Fixed Crop Hint Test (GoogleCloudPlatform#954)
1 parent 21cdab1 commit d2f0568

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

vision/test/visionTest.php

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -240,10 +240,10 @@ public function testCropHintsCommand()
240240
$path = __DIR__ . '/data/wakeupcat.jpg';
241241
$output = $this->runCommand('crop-hints', ['path' => $path]);
242242
$this->assertContains('Crop hints:', $output);
243-
$this->assertContains('(0,0)', $output);
244-
$this->assertContains('(599,0)', $output);
245-
$this->assertContains('(599,475)', $output);
246-
$this->assertContains('(0,475)', $output);
243+
$this->assertContains('(210,0)', $output);
244+
$this->assertContains('(476,0)', $output);
245+
$this->assertContains('(476,475)', $output);
246+
$this->assertContains('(210,475)', $output);
247247
}
248248

249249
public function testCropHintsCommandGcs()
@@ -253,10 +253,10 @@ public function testCropHintsCommandGcs()
253253
$path = 'gs://' . $bucketName . '/vision/wakeupcat.jpg';
254254
$output = $this->runCommand('crop-hints', ['path' => $path]);
255255
$this->assertContains('Crop hints:', $output);
256-
$this->assertContains('(0,0)', $output);
257-
$this->assertContains('(599,0)', $output);
258-
$this->assertContains('(599,475)', $output);
259-
$this->assertContains('(0,475)', $output);
256+
$this->assertContains('(210,0)', $output);
257+
$this->assertContains('(476,0)', $output);
258+
$this->assertContains('(476,475)', $output);
259+
$this->assertContains('(210,475)', $output);
260260
}
261261

262262
public function testDocumentTextCommand()

0 commit comments

Comments
 (0)