Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F8322009
TestCase.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
801 B
Referenced Files
None
Subscribers
None
TestCase.php
View Options
<?php
namespace
Nasqueron\Notifications\Tests\Console\Commands
;
use
Nasqueron\Notifications\Config\Services\Service
;
use
Nasqueron\Notifications\Tests\TestCase
as
BaseTestCase
;
use
Illuminate\Contracts\Console\Kernel
;
use
Symfony\Component\Console\Tester\CommandTester
;
use
Mockery
;
class
TestCase
extends
BaseTestCase
{
///
/// Commands test environment
///
/**
* @var Symfony\Component\Console\Command
*/
protected
$command
;
/**
* @var Symfony\Component\Console\Tester\CommandTester;
*/
protected
$tester
;
public
function
setUp
()
{
parent
::
setUp
();
$kernel
=
$this
->
app
->
make
(
Kernel
::
class
);
$this
->
command
=
$kernel
->
getByClass
(
$this
->
class
);
$this
->
tester
=
new
CommandTester
(
$this
->
command
);
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Tue, May 13, 16:57 (1 d, 3 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2571398
Default Alt Text
TestCase.php (801 B)
Attached To
Mode
rNOTIF Notifications center
Attached
Detach File
Event Timeline
Log In to Comment