Skip to content

Commit b9638d1

Browse files
author
Adalbert Makarovych
committed
Fixed tests
1 parent 33510c7 commit b9638d1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/Hybrid/HybridTestHelpers.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
use Illuminate\Support\Facades\DB;
77
use Illuminate\Support\Facades\Schema;
88
use Mockery;
9-
use SingleStore\Laravel\Connect\Connection;
9+
use SingleStore\Laravel\Connect\SingleStoreConnection;
1010
use SingleStore\Laravel\Schema\Blueprint;
1111
use SingleStore\Laravel\Schema\SingleStoreSchemaBuilder;
1212
use SingleStore\Laravel\Schema\SingleStoreSchemaGrammar;
@@ -38,7 +38,7 @@ protected function getDatabaseConnection($connection = null, $table = null)
3838

3939
protected function mockedConnection()
4040
{
41-
$connection = Mockery::mock(Connection::class);
41+
$connection = Mockery::mock(SingleStoreConnection::class);
4242
$grammar = new SingleStoreSchemaGrammar($connection);
4343

4444
$connection->shouldReceive('getConfig')->atMost()->once()->with('charset')->andReturn(null);

0 commit comments

Comments
 (0)