We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8d10dde commit 222002fCopy full SHA for 222002f
tests/Feature/Commands/InstallCommandTest.php
@@ -72,3 +72,14 @@
72
$this->view("components.ui.separator.index");
73
74
});
75
+
76
77
+it("simulates component installation with the dry-run option", function () {
78
+ $this->artisan("sheaf:install alerts --dry-run")
79
+ ->expectsOutputToContain("Preview: Installing Alerts (Dry Run)")
80
+ ->expectsOutputToContain("Will create")
81
+ ->assertExitCode(0)
82
+ ->run();
83
84
+ expect(view()->exists("components.ui.alerts.index"))->toBeFalse();
85
+});
0 commit comments