Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3919880
D241.id569.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
717 B
Referenced Files
None
Subscribers
None
D241.id569.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D241: Tests for config:show console command
Attached
Detach File
Event Timeline
Log In to Comment