Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F12373652
IntegrationTest.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
664 B
Referenced Files
None
Subscribers
None
IntegrationTest.php
View Options
<?php
namespace
Nasqueron\Notifications\Tests\Config\Reporting
;
use
Nasqueron\Notifications\Tests\TestCase
;
class
IntegrationTest
extends
TestCase
{
public
function
setUp
():
void
{
parent
::
setUp
();
$this
->
mockServices
()
->
shouldReceive
(
'get'
)
->
once
()
->
andReturn
([]);
// No service
}
/**
* Config works.
*/
public
function
testConfig
()
{
$json
=
$this
->
get
(
'/config'
)
->
response
->
getContent
();
$this
->
assertJsonStringEqualsJsonFile
(
__DIR__
.
"/../../data/config.json"
,
$json
);
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sat, Nov 1, 18:09 (1 d, 7 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3121706
Default Alt Text
IntegrationTest.php (664 B)
Attached To
Mode
rNOTIF Notifications center
Attached
Detach File
Event Timeline
Log In to Comment