Page MenuHomeDevCentral

No OneTemporary

diff --git a/tests/Config/FeaturesTest.php b/tests/Config/FeaturesTest.php
index 70190d0..38f795b 100644
--- a/tests/Config/FeaturesTest.php
+++ b/tests/Config/FeaturesTest.php
@@ -1,29 +1,30 @@
<?php
namespace Nasqueron\Notifications\Tests\Config;
use Nasqueron\Notifications\Config\Features;
use Nasqueron\Notifications\Tests\TestCase;
class FeaturesTest extends TestCase {
+
public function testEnable () {
// Find it (en vain …)
$this->assertNotContains('Quux', Features::getEnabled());
$this->assertFalse(Features::isEnabled('Quux'));
// Enable it
Features::enable('Quux');
$this->assertTrue(Features::isEnabled('Quux'));
$this->assertContains('Quux', Features::getEnabled());
// Disable it
Features::disable('Quux');
$this->assertFalse(Features::isEnabled('Quux'));
// Count it
$this->assertContains('Quux', Features::getAll());
$this->assertContains('Quux', Features::getAvailable());
$this->assertNotContains('Quux', Features::getEnabled());
-
}
+
}

File Metadata

Mime Type
text/x-diff
Expires
Fri, Feb 28, 22:08 (1 d, 11 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2447923
Default Alt Text
(1 KB)

Event Timeline