@@ -5,7 +5,6 @@ |
||
5 | 5 | use Gabievi\Promocodes\Models\Promocode; |
6 | 6 | use Gabievi\Promocodes\Tests\Models\User; |
7 | 7 | use Gabievi\Promocodes\Facades\Promocodes; |
8 | -use Gabievi\Promocodes\Exceptions\AlreadyUsedException; |
|
9 | 8 | use Gabievi\Promocodes\Exceptions\UnauthenticatedException; |
10 | 9 | |
11 | 10 | class ApplyPromocodeToUserTest extends TestCase |
@@ -12,7 +12,7 @@ discard block |
||
12 | 12 | */ |
13 | 13 | public function up() |
14 | 14 | { |
15 | - Schema::create('promocodes', function (Blueprint $table) { |
|
15 | + Schema::create('promocodes', function(Blueprint $table) { |
|
16 | 16 | $table->increments('id'); |
17 | 17 | |
18 | 18 | $table->string('code', 32)->unique(); |
@@ -25,7 +25,7 @@ discard block |
||
25 | 25 | $table->timestamp('expires_at')->nullable(); |
26 | 26 | }); |
27 | 27 | |
28 | - Schema::create('promocode_user', function (Blueprint $table) { |
|
28 | + Schema::create('promocode_user', function(Blueprint $table) { |
|
29 | 29 | $table->increments('id'); |
30 | 30 | |
31 | 31 | $table->unsignedBigInteger('user_id'); |