Page MenuHomeDevCentral

D655.diff
No OneTemporary

D655.diff

diff --git a/tests/Actions/TriggerDockerHubBuildActionTest.php b/tests/Actions/TriggerDockerHubBuildActionTest.php
new file mode 100644
--- /dev/null
+++ b/tests/Actions/TriggerDockerHubBuildActionTest.php
@@ -0,0 +1,25 @@
+<?php
+
+namespace Nasqueron\Notifications\Tests\Actions;
+
+use Illuminate\Foundation\Testing\WithoutMiddleware;
+
+use Nasqueron\Notifications\Actions\TriggerDockerHubBuildAction;
+use Nasqueron\Notifications\Tests\TestCase;
+
+class TriggerDockerHubBuildActionTest extends TestCase {
+
+ protected $action;
+
+ public function setUp () {
+ $this->action = new TriggerDockerHubBuildAction(
+ 'acme/foo'
+ );
+ }
+
+ public function testPublicProperties () {
+ $this->assertNull($this->action->error);
+ $this->assertSame('acme/foo', $this->action->image);
+ $this->assertSame('TriggerDockerHubBuildAction', $this->action->action);
+ }
+}

File Metadata

Mime Type
text/plain
Expires
Wed, Nov 27, 11:51 (21 h, 1 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2266846
Default Alt Text
D655.diff (926 B)

Event Timeline