Skip to content

Commit

Permalink
A few fixes (snipe#3437)
Browse files Browse the repository at this point in the history
* This method was renamed, so we need to rename the eager load

* Readd tinker to the composer dev packages.

* Update sql dump for functional tests.
  • Loading branch information
dmeltzer authored and snipe committed Mar 31, 2017
1 parent 7ee1728 commit 1bb89db
Show file tree
Hide file tree
Showing 5 changed files with 354 additions and 13 deletions.
2 changes: 1 addition & 1 deletion app/Http/Controllers/ViewAssetsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public function getIndex()
{

$user = User::with(
'assignedAssets.model',
'assets.model',
'consumables',
'accessories',
'licenses',
Expand Down
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@
"symfony/css-selector": "3.1.*",
"symfony/dom-crawler": "3.1.*",
"codeception/codeception": "2.2.9",
"squizlabs/php_codesniffer": "*"
"squizlabs/php_codesniffer": "*",
"laravel/tinker": "^1.0"
},
"autoload": {
"classmap": [
Expand Down
306 changes: 304 additions & 2 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions config/app.php
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,7 @@
Fideloper\Proxy\TrustedProxyServiceProvider::class,
PragmaRX\Google2FA\Vendor\Laravel\ServiceProvider::class,
Laravel\Passport\PassportServiceProvider::class,
Laravel\Tinker\TinkerServiceProvider::class,


/*
Expand Down
Loading

0 comments on commit 1bb89db

Please sign in to comment.