Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F7143944
D173.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
827 B
Referenced Files
None
Subscribers
None
D173.diff
View Options
diff --git a/tests/Actions/NotifyNewCommitsActionTest.php b/tests/Actions/NotifyNewCommitsActionTest.php
new file mode 100644
--- /dev/null
+++ b/tests/Actions/NotifyNewCommitsActionTest.php
@@ -0,0 +1,24 @@
+<?php
+
+namespace Nasqueron\Notifications\Tests\Actions;
+
+use Illuminate\Foundation\Testing\WithoutMiddleware;
+
+use Nasqueron\Notifications\Actions\NotifyNewCommitsAction;
+use Nasqueron\Notifications\Tests\TestCase;
+
+class NotifyNewCommitsActionTest extends TestCase {
+
+ protected $action;
+
+ public function setUp () {
+ $this->action = new NotifyNewCommitsAction(
+ 'QUUX'
+ );
+ }
+
+ public function testPublicProperties () {
+ $this->assertNull($this->action->error);
+ $this->assertEquals('NotifyNewCommitsAction', $this->action->action);
+ }
+}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Apr 22, 10:38 (21 h, 17 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2595242
Default Alt Text
D173.diff (827 B)
Attached To
Mode
D173: Tests for NotifyNewCommitsAction
Attached
Detach File
Event Timeline
Log In to Comment