Skip to content

Commit df2e1f2

Browse files
committed
test: Resolve facade correctely
1 parent ab77700 commit df2e1f2

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

tests/Feature/GrokFacadeTest.php

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,13 @@
22

33
namespace Tests\Feature;
44

5+
use GrokPHP\Laravel\Services\GrokAI;
56
use Tests\TestCase;
6-
use GrokPHP\Laravel\Facades\GrokAI;
7-
use GrokPHP\Client\Config\ChatOptions;
8-
use GrokPHP\Client\Enums\Model;
9-
use Illuminate\Support\Facades\Http;
107

118
class GrokFacadeTest extends TestCase
129
{
13-
public function test_it_sends_a_chat_request_and_receives_a_response()
10+
public function test_facade_resolves_correctly()
1411
{
15-
// soon ...
12+
$this->assertInstanceOf(GrokAI::class, app('grok-ai'));
1613
}
1714
}

0 commit comments

Comments
 (0)