- add ui for editor for publishing dois

- composer updates
- unit test with test credentials
This commit is contained in:
Arno Kaimbacher 2021-05-18 13:17:29 +02:00
parent 367dd328ef
commit b5abcef327
14 changed files with 422 additions and 102 deletions

View file

@ -7,7 +7,8 @@
namespace App\Providers;
use App\Tethys\Utils\DoiService;
use App\Tethys\Utils\DoiClient;
use App\Interfaces\DoiInterface;
use Illuminate\Support\ServiceProvider;
class DoiServiceProvider extends ServiceProvider
@ -33,12 +34,12 @@ class DoiServiceProvider extends ServiceProvider
{
//
$this->app->singleton('App\Interfaces\DoiInterface', function ($app) {
return new DoiService();
return new DoiClient();
});
}
public function provides()
{
return [DoiService::class];
return [DoiClient::class];
}
}