Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3785973
D655.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
926 B
Referenced Files
None
Subscribers
None
D655.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D655: Test TriggerDockerHubBuildAction
Attached
Detach File
Event Timeline
Log In to Comment