Skip to content

Commit 3a85e4b

Browse files
author
Tortue Torche
committed
Use 'DispatchesCommands' instead of 'DispatchesJobs' trait in the Controller class to fix tests with Laravel 5.0.
1 parent 82799e6 commit 3a85e4b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/fixtures/jql/Http/Controllers/Controller.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
<?php namespace Jql\Http\Controllers;
22

3-
use Illuminate\Foundation\Bus\DispatchesJobs;
3+
use Illuminate\Foundation\Bus\DispatchesCommands;
44
use Illuminate\Routing\Controller as BaseController;
55
use Illuminate\Foundation\Validation\ValidatesRequests;
66

77
abstract class Controller extends BaseController
88
{
9-
use DispatchesJobs, ValidatesRequests;
9+
use DispatchesCommands, ValidatesRequests;
1010
use \Efficiently\JqueryLaravel\ControllerAdditions;
1111

1212
/**

0 commit comments

Comments
 (0)