Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F9704720
RavenTest.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
672 B
Referenced Files
None
Subscribers
None
RavenTest.php
View Options
<?php
namespace
Nasqueron\Notifications\Tests\Facades
;
use
Nasqueron\Notifications\Tests\TestCase
;
use
Config
;
use
Raven
;
class
RavenTest
extends
TestCase
{
public
function
testIfFacadeAccessorCouldBeResolvedInAppContainer
()
{
$this
->
assertInstanceOf
(
'Raven_Client'
,
Raven
::
getFacadeRoot
()
);
}
public
function
testIsConfigured
()
{
Config
::
set
(
"services.sentry.dsn"
,
"something"
);
$this
->
assertTrue
(
Raven
::
isConfigured
());
}
public
function
testIsConfiguredWhenItIsNot
()
{
Config
::
offsetUnset
(
"services.sentry.dsn"
);
$this
->
assertFalse
(
Raven
::
isConfigured
());
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sat, Jun 14, 07:05 (4 h, 48 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2566646
Default Alt Text
RavenTest.php (672 B)
Attached To
Mode
rNOTIF Notifications center
Attached
Detach File
Event Timeline
Log In to Comment