@@ -104,12 +104,7 @@ public function testStartRunning()
104104 */
105105 public function testExecCreateWhileRunning ($ container )
106106 {
107- $ promise = $ this ->client ->execCreate ($ container , array (
108- 'Cmd ' => array ('echo ' , '-n ' , 'hello ' , 'world ' ),
109- 'AttachStdout ' => true ,
110- 'AttachStderr ' => true ,
111- 'Tty ' => true
112- ));
107+ $ promise = $ this ->client ->execCreate ($ container , array ('echo ' , '-n ' , 'hello ' , 'world ' ));
113108 $ exec = Block \await ($ promise , $ this ->loop );
114109
115110 $ this ->assertTrue (is_array ($ exec ));
@@ -164,12 +159,7 @@ public function testExecInspectAfterRunning($exec)
164159 */
165160 public function testExecStreamEmptyOutputWhileRunning ($ container )
166161 {
167- $ promise = $ this ->client ->execCreate ($ container , array (
168- 'Cmd ' => array ('true ' ),
169- 'AttachStdout ' => true ,
170- 'AttachStderr ' => true ,
171- 'Tty ' => true
172- ));
162+ $ promise = $ this ->client ->execCreate ($ container , array ('true ' ));
173163 $ exec = Block \await ($ promise , $ this ->loop );
174164
175165 $ this ->assertTrue (is_array ($ exec ));
@@ -189,12 +179,7 @@ public function testExecStreamEmptyOutputWhileRunning($container)
189179 */
190180 public function testExecDetachedWhileRunning ($ container )
191181 {
192- $ promise = $ this ->client ->execCreate ($ container , array (
193- 'Cmd ' => array ('sleep ' , '10 ' ),
194- 'AttachStdout ' => true ,
195- 'AttachStderr ' => true ,
196- 'Tty ' => true
197- ));
182+ $ promise = $ this ->client ->execCreate ($ container , array ('sleep ' , '10 ' ));
198183 $ exec = Block \await ($ promise , $ this ->loop );
199184
200185 $ this ->assertTrue (is_array ($ exec ));
0 commit comments