File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff 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 */
You can’t perform that action at this time.
0 commit comments