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 d3265c0 commit 46d7e40Copy full SHA for 46d7e40
1 file changed
tests/src/Host/HostTest.php
@@ -81,6 +81,17 @@ public function testHostWithParams()
81
self::assertEquals($value, $host->getIdentityFile());
82
}
83
84
+ public function testHostWithPathFromParams()
85
+ {
86
+ $host = new Host('host');
87
+ $value = 'new_value';
88
+ $host
89
+ ->set('env', $value)
90
+ ->set('path', '{{env}}');
91
+
92
+ self::assertEquals($value, $host->getPath());
93
+ }
94
95
public function testHostWithUserFromConfig()
96
{
97
$parent = new Configuration();
0 commit comments