File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed
appengine/flexible/helloworld Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"require" : {
3
- "php" : " 5.6.*|7.0.*|7.1.*|7.2.*" ,
3
+ "php" : " 5.6.*|7.0.*|7.1.*|7.2.*|7.3.* " ,
4
4
"silex/silex" : " ^2.3"
5
5
},
6
6
"require-dev" : {
Original file line number Diff line number Diff line change @@ -124,7 +124,10 @@ public function testLandmarkCommand()
124
124
{
125
125
$ path = __DIR__ . '/data/tower.jpg ' ;
126
126
$ output = $ this ->runCommand ('landmark ' , ['path ' => $ path ]);
127
- $ this ->assertContains ('Champ de Mars ' , $ output );
127
+ $ this ->assertRegexp (
128
+ '/Eiffel Tower|Champ de Mars|Trocadéro Gardens/ ' ,
129
+ $ output
130
+ );
128
131
}
129
132
130
133
public function testLandmarkCommandGcs ()
@@ -133,7 +136,10 @@ public function testLandmarkCommandGcs()
133
136
134
137
$ path = 'gs:// ' . $ bucketName . '/vision/tower.jpg ' ;
135
138
$ output = $ this ->runCommand ('landmark ' , ['path ' => $ path ]);
136
- $ this ->assertContains ('Champ de Mars ' , $ output );
139
+ $ this ->assertRegexp (
140
+ '/Eiffel Tower|Champ de Mars|Trocadéro Gardens/ ' ,
141
+ $ output
142
+ );
137
143
}
138
144
139
145
public function testLandmarkCommandWithImageLackingLandmarks ()
You can’t perform that action at this time.
0 commit comments