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 17
17
namespace Google \Cloud \Test \Memcache ;
18
18
19
19
use Google \Cloud \TestUtils \AppEngineDeploymentTrait ;
20
- use Google \Cloud \TestUtils \TestTrait ;
21
20
use Google \Cloud \TestUtils \FileUtil ;
22
21
use Symfony \Component \Yaml \Yaml ;
23
22
use PHPUnit \Framework \TestCase ;
24
23
25
24
class DeployTest extends TestCase
26
25
{
27
- use TestTrait;
28
26
use AppEngineDeploymentTrait;
29
27
30
28
public static function beforeDeploy ()
Original file line number Diff line number Diff line change 18
18
namespace Google \Cloud \Samples \Bookshelf ;
19
19
20
20
use Google \Cloud \TestUtils \AppEngineDeploymentTrait ;
21
- use Google \Cloud \TestUtils \TestTrait ;
22
21
use Google \Cloud \TestUtils \FileUtil ;
23
22
use PHPUnit \Framework \TestCase ;
24
23
use Symfony \Component \Yaml \Yaml ;
28
27
*/
29
28
class DeployTest extends TestCase
30
29
{
31
- use TestTrait,
32
- AppEngineDeploymentTrait;
30
+ use AppEngineDeploymentTrait;
33
31
34
32
private static function beforeDeploy ()
35
33
{
Original file line number Diff line number Diff line change @@ -120,7 +120,7 @@ public function testLandmarkCommand()
120
120
{
121
121
$ path = __DIR__ . '/data/tower.jpg ' ;
122
122
$ output = $ this ->runCommand ('landmark ' , ['path ' => $ path ]);
123
- $ this ->assertContains ('Eiffel ' , $ output );
123
+ $ this ->assertContains ('Champ de Mars ' , $ output );
124
124
}
125
125
126
126
public function testLandmarkCommandGcs ()
@@ -129,7 +129,7 @@ public function testLandmarkCommandGcs()
129
129
130
130
$ path = 'gs:// ' . $ bucketName . '/vision/tower.jpg ' ;
131
131
$ output = $ this ->runCommand ('landmark ' , ['path ' => $ path ]);
132
- $ this ->assertContains ('Eiffel ' , $ output );
132
+ $ this ->assertContains ('Champ de Mars ' , $ output );
133
133
}
134
134
135
135
public function testLandmarkCommandWithImageLackingLandmarks ()
You can’t perform that action at this time.
0 commit comments