nahid / talk

Talk is a real-time users messaging and chatting system for Laravel.
MIT License
1.61k stars 327 forks source link

Route tests #55

Open bbcreation opened 7 years ago

bbcreation commented 7 years ago

Hi;

In route /tests I have an error.

Call to undefined method Nahid\Talk\Talk::channel()

jampack commented 7 years ago

have you registered the provider and added alias to config/app.php?

sent from my iPhone

On 2 Apr 2017, 2:07 AM +0500, Grzegorz Bukat notifications@github.com, wrote:

Hi;

In route /tests I have an error.

Call to undefined method Nahid\Talk\Talk::channel()

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub (https://github.com/nahid/talk/issues/55), or mute the thread (https://github.com/notifications/unsubscribe-auth/AYvvskzNQDX-mxqO-x3vKGmI67-Ue_eGks5rrrx1gaJpZM4MwnVM).

bbcreation commented 7 years ago

Yes, I use Laravel 5.4

bbcreation commented 7 years ago

I do not know what you mean. I have a test: $b = new Broadcast(\Illuminate\Contracts\Config\Repository::class, \Vinkla\Pusher\PusherFactory::class); dd($b->tests()); or

dd (Talk :: channel ());

Exactly as was the case.

Haritsinh commented 5 years ago

@akkhan20 , i am using talk in laravel 5.5 and got the same error as stated by @bbcreation, and i have registered the provider and added alias to config/app.php as you have said, but it still shows the same error what to do?