Page MenuHomeDevCentral

IntegrationTest.php
No OneTemporary

IntegrationTest.php

<?php
namespace Nasqueron\Notifications\Tests\Config\Reporting;
use Nasqueron\Notifications\Tests\TestCase;
class IntegrationTest extends TestCase {
public function setUp () {
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

Mime Type
text/x-php
Expires
Sun, Nov 16, 13:44 (14 h, 33 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3144320
Default Alt Text
IntegrationTest.php (658 B)

Event Timeline