|
11 | 11 | echo "\nTest Started\n"; |
12 | 12 |
|
13 | 13 | // Foo Service |
14 | | -$command = "${baseCommand} cli foo get --x='string' --y='123' --z[]='string in array'"; |
| 14 | +$command = "${baseCommand} cli foo get --x='string' --y='123' --z='string in array'"; |
15 | 15 | $output = []; |
16 | 16 | exec($command, $output); |
17 | 17 | echo substr($output[0],9)."\n"; |
18 | 18 |
|
19 | | -$command = "${baseCommand} cli foo post --x='string' --y='123' --z[]='string in array'"; |
| 19 | +$command = "${baseCommand} cli foo post --x='string' --y='123' --z='string in array'"; |
20 | 20 | $output = []; |
21 | 21 | exec($command, $output); |
22 | 22 | echo substr($output[0],9)."\n"; |
23 | 23 |
|
24 | | -$command = "${baseCommand} cli foo put --x='string' --y='123' --z[]='string in array'"; |
| 24 | +$command = "${baseCommand} cli foo put --x='string' --y='123' --z='string in array'"; |
25 | 25 | $output = []; |
26 | 26 | exec($command, $output); |
27 | 27 | echo substr($output[0],9)."\n"; |
28 | 28 |
|
29 | | -$command = "${baseCommand} cli foo patch --x='string' --y='123' --z[]='string in array'"; |
| 29 | +$command = "${baseCommand} cli foo patch --x='string' --y='123' --z='string in array'"; |
30 | 30 | $output = []; |
31 | 31 | exec($command, $output); |
32 | 32 | echo substr($output[0],9)."\n"; |
33 | 33 |
|
34 | | -$command = "${baseCommand} cli foo delete --x='string' --y='123' --z[]='string in array'"; |
| 34 | +$command = "${baseCommand} cli foo delete --x='string' --y='123' --z='string in array'"; |
35 | 35 | $output = []; |
36 | 36 | exec($command, $output); |
37 | 37 | echo substr($output[0],9)."\n"; |
38 | 38 |
|
39 | 39 |
|
40 | 40 | // Bar Service |
41 | | -$command = "${baseCommand} cli bar get --x='string' --y='123' --z[]='string in array'"; |
| 41 | +$command = "${baseCommand} cli bar get --x='string' --y='123' --z='string in array'"; |
42 | 42 | $output = []; |
43 | 43 | exec($command, $output); |
44 | 44 | echo substr($output[0],9)."\n"; |
45 | 45 |
|
46 | | -$command = "${baseCommand} cli bar post --x='string' --y='123' --z[]='string in array'"; |
| 46 | +$command = "${baseCommand} cli bar post --x='string' --y='123' --z='string in array'"; |
47 | 47 | $output = []; |
48 | 48 | exec($command, $output); |
49 | 49 | echo substr($output[0],9)."\n"; |
50 | 50 |
|
51 | | -$command = "${baseCommand} cli bar put --x='string' --y='123' --z[]='string in array'"; |
| 51 | +$command = "${baseCommand} cli bar put --x='string' --y='123' --z='string in array'"; |
52 | 52 | $output = []; |
53 | 53 | exec($command, $output); |
54 | 54 | echo substr($output[0],9)."\n"; |
55 | 55 |
|
56 | | -$command = "${baseCommand} cli bar patch --x='string' --y='123' --z[]='string in array'"; |
| 56 | +$command = "${baseCommand} cli bar patch --x='string' --y='123' --z='string in array'"; |
57 | 57 | $output = []; |
58 | 58 | exec($command, $output); |
59 | 59 | echo substr($output[0],9)."\n"; |
60 | 60 |
|
61 | | -$command = "${baseCommand} cli bar delete --x='string' --y='123' --z[]='string in array'"; |
| 61 | +$command = "${baseCommand} cli bar delete --x='string' --y='123' --z='string in array'"; |
62 | 62 | $output = []; |
63 | 63 | exec($command, $output); |
64 | 64 | echo substr($output[0],9)."\n"; |
|
69 | 69 | exec($command, $output); |
70 | 70 | echo substr($output[0],9)."\n"; |
71 | 71 |
|
72 | | -$command = "${baseCommand} cli general upload --x='string' --y='123' --z[]='string in array' --file='file.png'"; |
| 72 | +$command = "${baseCommand} cli general upload --x='string' --y='123' --z='string in array' --file='file.png'"; |
73 | 73 | $output = []; |
74 | 74 | exec($command, $output); |
75 | 75 | echo substr($output[0],9)."\n"; |
0 commit comments