Skip to content

Commit

Permalink
Dropped uneeded use statements, fixed test repository test
Browse files Browse the repository at this point in the history
  • Loading branch information
zakhenry committed Jun 26, 2015
1 parent faba9c8 commit 41bf0d6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 0 additions & 2 deletions api/app/Application.php
@@ -1,9 +1,7 @@
<?php namespace App;

use Illuminate\Support\Facades\Storage;
use Laravel\Lumen\Application;
use Monolog\Handler\SyslogUdpHandler;
use Wpb\StringBladeCompiler\Facades\StringView;

class SpiraApplication extends Application
{
Expand Down
4 changes: 1 addition & 3 deletions api/tests/Repositories/TestRepositoryTest.php
Expand Up @@ -89,9 +89,7 @@ public function testCreateOrReplaceUpdate()
$entity = factory(App\Models\TestEntity::class)->create();
$id = $entity->entity_id;

$entityUpdate = factory(App\Models\TestEntity::class)->make([
'entity_id' => $id //set the entity id of the model to be updated to the original id
]);
$entityUpdate = factory(App\Models\TestEntity::class)->make();

$entityUpdate = $entityUpdate->getAttributes();

Expand Down

0 comments on commit 41bf0d6

Please sign in to comment.