Skip to content

Commit 63957cc

Browse files
author
Steve Gattuso
committed
Fixes styling
1 parent 81a8482 commit 63957cc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/Database/DatabaseEloquentModelTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1334,11 +1334,11 @@ public function testStringIdTypePreserved()
13341334
{
13351335
$model = $this->getMock('EloquentIdTypeModelStub', ['newQueryWithoutScopes', 'updateTimestamps', 'refresh']);
13361336
$query = m::mock('Illuminate\Database\Eloquent\Builder');
1337-
$query->shouldReceive('insertGetId')->once()->with([], 'id')->andReturn("string id");
1337+
$query->shouldReceive('insertGetId')->once()->with([], 'id')->andReturn('string id');
13381338
$model->expects($this->once())->method('newQueryWithoutScopes')->will($this->returnValue($query));
13391339

13401340
$this->assertTrue($model->save());
1341-
$this->assertEquals("string id", $model->id);
1341+
$this->assertEquals('string id', $model->id);
13421342
}
13431343

13441344
protected function addMockConnection($model)
@@ -1455,7 +1455,7 @@ public function setIncrementing($value)
14551455

14561456
class EloquentIdTypeModelStub extends EloquentModelStub
14571457
{
1458-
public $idType = "string";
1458+
public $idType = 'string';
14591459
}
14601460

14611461
class EloquentModelFindWithWritePdoStub extends Model

0 commit comments

Comments
 (0)