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()
54
54
[$ path , 'video ' ]
55
55
);
56
56
// $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
+ );
58
61
}
59
62
60
63
public function testTranscribePunctuation ()
61
64
{
62
65
$ path = __DIR__ . '/data/audio32KHz.raw ' ;
63
66
$ 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
+ );
65
71
}
66
72
67
73
/** @dataProvider provideTranscribe */
You can’t perform that action at this time.
0 commit comments