File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
src/ai-bundle/tests/Command Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ public function testExecuteSuccessfully()
3232
3333 $ platform = $ this ->createMock (PlatformInterface::class);
3434 $ platform ->method ('invoke ' )
35- ->with ('gpt-4o-mini ' , self :: anything ())
35+ ->with ('gpt-4o-mini ' , $ this -> anything ())
3636 ->willReturn ($ promise );
3737
3838 $ platforms = $ this ->createMock (ServiceLocator::class);
@@ -49,9 +49,9 @@ public function testExecuteSuccessfully()
4949 'message ' => 'Hello! ' ,
5050 ]);
5151
52- self :: assertSame (Command::SUCCESS , $ exitCode );
53- self :: assertStringContainsString ('Response: ' , $ commandTester ->getDisplay ());
54- self :: assertStringContainsString ('Hello! How can I assist you? ' , $ commandTester ->getDisplay ());
52+ $ this -> assertSame (Command::SUCCESS , $ exitCode );
53+ $ this -> assertStringContainsString ('Response: ' , $ commandTester ->getDisplay ());
54+ $ this -> assertStringContainsString ('Hello! How can I assist you? ' , $ commandTester ->getDisplay ());
5555 }
5656
5757 public function testExecuteWithNonExistentPlatform ()
You can’t perform that action at this time.
0 commit comments