Skip to content

Commit 265bd47

Browse files
committed
IHF: Simplified.
1 parent 40df15e commit 265bd47

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

tests/db/DbMysqlNowTest.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
11
<?php
22

3-
use Mockery as m;
4-
53
class DbMysqlNowTest extends TestCase
64
{
75
/** @test */
86
public function it_returns_valid_mysql_datetime()
97
{
10-
$mock = m::mock('alias:Illuminate\Support\Facades\DB');
8+
$mock = Mockery::mock('alias:Illuminate\Support\Facades\DB');
119
$mock->shouldReceive('selectOne')->withArgs(['select now() as now'])->once()->andReturnUsing(function () {
1210
return (object) ['now' => '2016-09-17 18:49:46'];
1311
});

0 commit comments

Comments
 (0)