Completed
Push — master ( b7b816...25a801 )
by Zura
01:24
created
tests/ApplyPromocodeToUserTest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,6 @@
 block discarded – undo
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
Please login to merge, or discard this patch.
migrations/2016_05_17_221000_create_promocodes_table.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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');
Please login to merge, or discard this patch.