mirror of
https://github.com/nullthoughts/laravel-data-sync.git
synced 2026-02-05 05:49:05 +00:00
Updater class tests
This commit is contained in:
15
tests/fakes/UpdaterFake.php
Normal file
15
tests/fakes/UpdaterFake.php
Normal file
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
namespace distinctm\LaravelDataSync\Tests\Fakes;
|
||||
|
||||
use distinctm\LaravelDataSync\Updater;
|
||||
|
||||
class UpdaterFake extends Updater
|
||||
{
|
||||
protected function getModel(string $name)
|
||||
{
|
||||
return '\\distinctm\\LaravelDataSync\\Tests\\' . studly_case(
|
||||
pathinfo($name, PATHINFO_FILENAME)
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user