Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
mohamednagy committed Feb 13, 2018
1 parent 50cb2f5 commit 7d5b84c
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 42 deletions.
2 changes: 1 addition & 1 deletion src/Traits/HasStatus.php → src/HasStatus.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Nagy\LaravelStatus\Traits;
namespace Nagy\LaravelStatus;

use Illuminate\Database\Eloquent\Builder;
use Nagy\LaravelStatus\Exceptions\StatusNotExists;
Expand Down
27 changes: 0 additions & 27 deletions src/LaravelStatusServiceProvider.php

This file was deleted.

2 changes: 1 addition & 1 deletion tests/Models/User.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
namespace Nagy\LaravelStatus\Tests\Models;

use Illuminate\Database\Eloquent\Model;
use Nagy\LaravelStatus\Traits\HasStatus;
use Nagy\LaravelStatus\HasStatus;

class User extends Model
{
Expand Down
13 changes: 0 additions & 13 deletions tests/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

use Nagy\LaravelStatus\Tests\Models\User;
use Orchestra\Testbench\TestCase as Orchestra;
use Nagy\LaravelStatus\LaravelStatusServiceProvider;

abstract class TestCase extends Orchestra
{
Expand Down Expand Up @@ -41,18 +40,6 @@ public function setUpDatabase($app)

$this->withFactories(__DIR__.'/database/factories');
}

/**
* @param \Illuminate\Foundation\Application $app
*
* @return array
*/
protected function getPackageProviders($app)
{
return [
\Nagy\LaravelStatus\LaravelStatusServiceProvider::class,
];
}

public function seedUser($status)
{
Expand Down

0 comments on commit 7d5b84c

Please sign in to comment.