Skip to content
Snippets Groups Projects

Automated Project Update Bot fixes

1 file
+ 1
3
Compare changes
  • Side-by-side
  • Inline
@@ -20,9 +20,7 @@ class ContentAIServiceTest extends UnitTestCase {
protected $client;
public function processContentTest() {
$openai_service = $this->getMockBuilder('OpenAI\Client')
->disableOriginalConstructor()
->getMock();
$openai_service = $this->createMock('OpenAI\Client');
$openai_service->expects($this->any())
->method('completions')
->willReturn($openai_service);
Loading