Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: allow editing of phone calls #2134

Merged
merged 17 commits into from
Dec 8, 2018
Prev Previous commit
Next Next commit
Apply fixes from StyleCI
  • Loading branch information
djaiss authored and StyleCIBot committed Dec 5, 2018
commit 3ce27850a2ba6ee90f85f200591416e2f101e88d
2 changes: 1 addition & 1 deletion app/Http/Controllers/Contacts/CallsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

namespace App\Http\Controllers\Contacts;

use Illuminate\Http\Request;
use App\Models\Contact\Call;
use Illuminate\Http\Request;
use App\Models\Contact\Contact;
use App\Http\Controllers\Controller;
use App\Services\Contact\Call\CreateCall;
Expand Down
2 changes: 1 addition & 1 deletion app/Services/Contact/Call/CreateCall.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

namespace App\Services\Contact\Call;

use App\Models\Contact\Call;
use App\Services\BaseService;
use App\Models\Contact\Contact;
use App\Models\Contact\Call;

class CreateCall extends BaseService
{
Expand Down
3 changes: 1 addition & 2 deletions app/Services/Contact/Call/DestroyCall.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,9 @@

namespace App\Services\Contact\Call;

use App\Services\BaseService;
use App\Models\Contact\Call;
use App\Services\BaseService;
use App\Models\Contact\Contact;
use Carbon\Carbon;

class DestroyCall extends BaseService
{
Expand Down
2 changes: 1 addition & 1 deletion app/Services/Contact/Call/UpdateCall.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

namespace App\Services\Contact\Call;

use App\Services\BaseService;
use App\Models\Contact\Call;
use App\Services\BaseService;

class UpdateCall extends BaseService
{
Expand Down
1 change: 0 additions & 1 deletion tests/Unit/Models/ContactTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
use Carbon\Carbon;
use App\Models\User\User;
use Tests\FeatureTestCase;
use App\Models\Contact\Call;
use App\Models\Contact\Debt;
use App\Models\Contact\Gender;
use App\Models\Account\Account;
Expand Down
4 changes: 2 additions & 2 deletions tests/Unit/Services/Contact/Call/CreateCallTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@

use Carbon\Carbon;
use Tests\TestCase;
use App\Models\Contact\Call;
use App\Models\Account\Account;
use App\Models\Contact\Contact;
use App\Models\Contact\Call;
use App\Services\Contact\Call\CreateCall;
use App\Exceptions\MissingParameterException;
use Illuminate\Foundation\Testing\DatabaseTransactions;
use Illuminate\Database\Eloquent\ModelNotFoundException;
use App\Services\Contact\Call\CreateCall;

class CreateCallTest extends TestCase
{
Expand Down
7 changes: 2 additions & 5 deletions tests/Unit/Services/Contact/Call/DestroyCallTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,10 @@
namespace Tests\Unit\Services\Contact\Call;

use Tests\TestCase;
use App\Models\Account\Account;
use App\Models\Contact\Contact;
use App\Models\Contact\Call;
use App\Exceptions\MissingParameterException;
use Illuminate\Foundation\Testing\DatabaseTransactions;
use Illuminate\Database\Eloquent\ModelNotFoundException;
use App\Models\Contact\Contact;
use App\Services\Contact\Call\DestroyCall;
use Illuminate\Foundation\Testing\DatabaseTransactions;

class DestroyCallTest extends TestCase
{
Expand Down
4 changes: 2 additions & 2 deletions tests/Unit/Services/Contact/Call/UpdateCallTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@

use Carbon\Carbon;
use Tests\TestCase;
use App\Models\Contact\Call;
use App\Models\Account\Account;
use App\Models\Contact\Contact;
use App\Models\Contact\Call;
use App\Services\Contact\Call\UpdateCall;
use App\Exceptions\MissingParameterException;
use Illuminate\Foundation\Testing\DatabaseTransactions;
use Illuminate\Database\Eloquent\ModelNotFoundException;
use App\Services\Contact\Call\UpdateCall;

class UpdateCallTest extends TestCase
{
Expand Down