Skip to content

Commit a2820dc

Browse files
authored
Merge branch 'master' into pubsub/dlq
2 parents b736151 + c4e72a7 commit a2820dc

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

speech/test/speechTest.php

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,14 +54,20 @@ public function testTranscribeModel()
5454
[$path, 'video']
5555
);
5656
// $this->assertContains('the weather outside is sunny',$output);
57-
$this->assertContains('how old is the Brooklyn Bridge', $output);
57+
$this->assertStringContainsStringIgnoringCase(
58+
'how old is the Brooklyn Bridge',
59+
$output
60+
);
5861
}
5962

6063
public function testTranscribePunctuation()
6164
{
6265
$path = __DIR__ . '/data/audio32KHz.raw';
6366
$output = $this->runSnippet('transcribe_auto_punctuation', [$path]);
64-
$this->assertContains('How old is the Brooklyn Bridge', $output);
67+
$this->assertStringContainsStringIgnoringCase(
68+
'How old is the Brooklyn Bridge',
69+
$output
70+
);
6571
}
6672

6773
/** @dataProvider provideTranscribe */

0 commit comments

Comments
 (0)