Skip to content

Commit 3530e52

Browse files
limenetactions-user
authored andcommitted
Fix styling
1 parent 1faeb20 commit 3530e52

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

tests/IndexTest.php

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

33
namespace Limenet\LaravelElasticaBridge\Tests;
44

5-
use Elastica\Client;
65
use Elastica\Index;
76
use Limenet\LaravelElasticaBridge\Tests\App\Elasticsearch\CustomerIndex;
87

@@ -21,7 +20,7 @@ public function raw_index()
2120
{
2221
$index = $this->customerIndex->getElasticaIndex();
2322
$this->assertInstanceOf(Index::class, $index);
24-
$this->assertSame($this->customerIndex->getName(),$index->getName());
23+
$this->assertSame($this->customerIndex->getName(), $index->getName());
2524
}
2625

2726
/** @test */
@@ -30,7 +29,7 @@ public function settings()
3029
$settings = $this->customerIndex->getCreateArguments();
3130
$mappings = $this->customerIndex->getMapping();
3231
$this->assertTrue($this->customerIndex->hasMapping());
33-
$this->assertArrayHasKey('mappings', $settings);
34-
$this->assertSame($settings['mappings'],$mappings);
32+
$this->assertArrayHasKey('mappings', $settings);
33+
$this->assertSame($settings['mappings'], $mappings);
3534
}
3635
}

tests/TestCase.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
use Illuminate\Database\Eloquent\Factories\Factory;
66
use Illuminate\Foundation\Testing\RefreshDatabase;
77
use Limenet\LaravelElasticaBridge\LaravelElasticaBridgeServiceProvider;
8-
use Limenet\LaravelElasticaBridge\Tests\App\Elasticsearch\CustomerIndex;
98
use Limenet\LaravelElasticaBridge\Tests\Database\Seeders\DatabaseSeeder;
109
use Orchestra\Testbench\TestCase as Orchestra;
1110
use SetupTables;

0 commit comments

Comments
 (0)