Unverified Commit 690656c6 authored by Viral Solani's avatar Viral Solani Committed by GitHub

Merge pull request #135 from viralsolani/analysis-XlQnwr

Apply fixes from StyleCI
parents 79c3758e aacc4c3a
......@@ -109,6 +109,7 @@ class PermissionRepository extends BaseRepository
DB::transaction(function () use ($permission) {
if ($permission->delete()) {
event(new PermissionDeleted($permission));
return true;
}
......
......@@ -2,12 +2,12 @@
namespace Tests\Feature\Backend;
use Tests\TestCase;
use Illuminate\Support\Facades\Event;
use App\Models\Access\Permission\Permission;
use App\Events\Backend\Access\Permission\PermissionCreated;
use App\Events\Backend\Access\Permission\PermissionDeleted;
use App\Events\Backend\Access\Permission\PermissionUpdated;
use App\Models\Access\Permission\Permission;
use Illuminate\Support\Facades\Event;
use Tests\TestCase;
class ManagePermissionsTest extends TestCase
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment