Page MenuHomeDevCentral

D241.id569.diff
No OneTemporary

D241.id569.diff

diff --git a/tests/Console/Commands/ConfigShow.php b/tests/Console/Commands/ConfigShow.php
new file mode 100644
--- /dev/null
+++ b/tests/Console/Commands/ConfigShow.php
@@ -0,0 +1,21 @@
+<?php
+
+namespace Nasqueron\Notifications\Tests\Console\Commands;
+
+class ConfigShowTest extends TestCase {
+
+ /**
+ * @var string
+ */
+ protected $class = 'Nasqueron\Notifications\Console\Commands\ConfigShow';
+
+ public function testExecute () {
+ // A quote contain a - character and is embedded by PHP_EOL
+ $this->tester->execute(['command' => $this->command->getName()]);
+
+ //eval(\Psy\sh());
+
+ $this->assertRegexp('ZzzzZzzz', $this->tester->getDisplay());
+ }
+
+}

File Metadata

Mime Type
text/plain
Expires
Sat, Dec 21, 12:43 (17 h, 49 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2309476
Default Alt Text
D241.id569.diff (717 B)

Event Timeline