remove the Beanstalkd testing code from Laravel

This commit is contained in:
Mahmoud Zalt 2015-09-28 18:30:53 +03:00
parent d96bf4b177
commit 94fddca547
2 changed files with 1 additions and 27 deletions

View File

@ -32,10 +32,8 @@ class TestingController extends Controller
// Testing Cache (Redis) // Testing Cache (Redis)
Cache::pull('test'); Cache::pull('test');
// Testing Queue (Beanstalkd)
$this->dispatch(new TestingQueue());
return view('welcome'); return view('welcome');
} catch(Exception $e) { } catch(Exception $e) {
echo $e->getMessage(); echo $e->getMessage();
} }

View File

@ -1,24 +0,0 @@
<?php
namespace App\Jobs;
use App\Jobs\Job;
use Illuminate\Queue\SerializesModels;
use Illuminate\Queue\InteractsWithQueue;
use Illuminate\Contracts\Bus\SelfHandling;
use Illuminate\Contracts\Queue\ShouldQueue;
class TestingQueue extends Job implements SelfHandling, ShouldQueue
{
use InteractsWithQueue, SerializesModels;
/**
* Execute the job.
*
* @return void
*/
public function handle()
{
return true;
}
}