@@ -35,11 +35,8 @@ public function testIndex()
3535 } catch (\GuzzleHttp \Exception \ServerException $ e ) {
3636 $ this ->fail ($ e ->getResponse ()->getBody ());
3737 }
38- $ this ->assertEquals ('200 ' , $ resp ->getStatusCode (),
39- 'top page status code ' );
40- $ this ->assertStringContainsString (
41- 'Spanner ' ,
42- $ resp ->getBody ()->getContents ());
38+ $ this ->assertEquals ('200 ' , $ resp ->getStatusCode (), 'top page status code ' );
39+ $ this ->assertStringContainsString ('Spanner ' , $ resp ->getBody ()->getContents ());
4340 }
4441
4542 public static function beforeDeploy ()
@@ -77,11 +74,8 @@ public function testSpanner()
7774 } catch (\GuzzleHttp \Exception \ServerException $ e ) {
7875 $ this ->fail ($ e ->getResponse ()->getBody ());
7976 }
80- $ this ->assertEquals ('200 ' , $ resp ->getStatusCode (),
81- 'top page status code ' );
82- $ this ->assertStringContainsString (
83- 'Hello World ' ,
84- $ resp ->getBody ()->getContents ());
77+ $ this ->assertEquals ('200 ' , $ resp ->getStatusCode (), 'top page status code ' );
78+ $ this ->assertStringContainsString ('Hello World ' , $ resp ->getBody ()->getContents ());
8579 }
8680
8781 public function testMonitoring ()
@@ -92,11 +86,11 @@ public function testMonitoring()
9286 } catch (\GuzzleHttp \Exception \ServerException $ e ) {
9387 $ this ->fail ($ e ->getResponse ()->getBody ());
9488 }
95- $ this ->assertEquals ('200 ' , $ resp ->getStatusCode (),
96- 'top page status code ' );
89+ $ this ->assertEquals ('200 ' , $ resp ->getStatusCode (), 'top page status code ' );
9790 $ this ->assertStringContainsString (
9891 'Successfully submitted a time series ' ,
99- $ resp ->getBody ()->getContents ());
92+ $ resp ->getBody ()->getContents ()
93+ );
10094 }
10195
10296 public function testSpeech ()
@@ -107,10 +101,10 @@ public function testSpeech()
107101 } catch (\GuzzleHttp \Exception \ServerException $ e ) {
108102 $ this ->fail ($ e ->getResponse ()->getBody ());
109103 }
110- $ this ->assertEquals ('200 ' , $ resp ->getStatusCode (),
111- 'top page status code ' );
104+ $ this ->assertEquals ('200 ' , $ resp ->getStatusCode (), 'top page status code ' );
112105 $ this ->assertStringContainsString (
113106 'Transcription: how old is the Brooklyn Bridge ' ,
114- $ resp ->getBody ()->getContents ());
107+ $ resp ->getBody ()->getContents ()
108+ );
115109 }
116110}
0 commit comments