Skip to content

Commit 862a15b

Browse files
committed
Merge fakes & Fakes (case sensitive)
1 parent 325667f commit 862a15b

File tree

2 files changed

+3
-19
lines changed

2 files changed

+3
-19
lines changed

tests/Fakes/UpdaterFake.php

Lines changed: 0 additions & 15 deletions
This file was deleted.

tests/fakes/UpdaterFake.php

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,13 @@
33
namespace distinctm\LaravelDataSync\Tests\Fakes;
44

55
use distinctm\LaravelDataSync\Updater;
6-
use Illuminate\Support\Str;
76

87
class UpdaterFake extends Updater
98
{
109
protected function getModel(string $name)
1110
{
12-
return '\\distinctm\\LaravelDataSync\\Tests\\'.Str::studly(
13-
pathinfo($name, PATHINFO_FILENAME)
14-
);
11+
return '\\distinctm\\LaravelDataSync\\Tests\\'.studly_case(
12+
pathinfo($name, PATHINFO_FILENAME)
13+
);
1514
}
1615
}

0 commit comments

Comments
 (0)