File tree Expand file tree Collapse file tree 3 files changed +3
-7
lines changed
php72/getting-started/test Expand file tree Collapse file tree 3 files changed +3
-7
lines changed Original file line number Diff line number Diff line change 1717namespace Google \Cloud \Test \Memcache ;
1818
1919use Google \Cloud \TestUtils \AppEngineDeploymentTrait ;
20- use Google \Cloud \TestUtils \TestTrait ;
2120use Google \Cloud \TestUtils \FileUtil ;
2221use Symfony \Component \Yaml \Yaml ;
2322use PHPUnit \Framework \TestCase ;
2423
2524class DeployTest extends TestCase
2625{
27- use TestTrait;
2826 use AppEngineDeploymentTrait;
2927
3028 public static function beforeDeploy ()
Original file line number Diff line number Diff line change 1818namespace Google \Cloud \Samples \Bookshelf ;
1919
2020use Google \Cloud \TestUtils \AppEngineDeploymentTrait ;
21- use Google \Cloud \TestUtils \TestTrait ;
2221use Google \Cloud \TestUtils \FileUtil ;
2322use PHPUnit \Framework \TestCase ;
2423use Symfony \Component \Yaml \Yaml ;
2827 */
2928class DeployTest extends TestCase
3029{
31- use TestTrait,
32- AppEngineDeploymentTrait;
30+ use AppEngineDeploymentTrait;
3331
3432 private static function beforeDeploy ()
3533 {
Original file line number Diff line number Diff line change @@ -120,7 +120,7 @@ public function testLandmarkCommand()
120120 {
121121 $ path = __DIR__ . '/data/tower.jpg ' ;
122122 $ output = $ this ->runCommand ('landmark ' , ['path ' => $ path ]);
123- $ this ->assertContains ('Eiffel ' , $ output );
123+ $ this ->assertContains ('Champ de Mars ' , $ output );
124124 }
125125
126126 public function testLandmarkCommandGcs ()
@@ -129,7 +129,7 @@ public function testLandmarkCommandGcs()
129129
130130 $ path = 'gs:// ' . $ bucketName . '/vision/tower.jpg ' ;
131131 $ output = $ this ->runCommand ('landmark ' , ['path ' => $ path ]);
132- $ this ->assertContains ('Eiffel ' , $ output );
132+ $ this ->assertContains ('Champ de Mars ' , $ output );
133133 }
134134
135135 public function testLandmarkCommandWithImageLackingLandmarks ()
You can’t perform that action at this time.
0 commit comments