Page MenuHomeDevCentral

D173.diff
No OneTemporary

D173.diff

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

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)

Event Timeline