|
14 | 14 | class MeetupGeneratorCommandTest extends TestCase |
15 | 15 | { |
16 | 16 | // generate args simulate what the user types in to the command line |
17 | | - private const GENERATE_1_ARGS = ['Title', 'Description', null , 'Name', 'Bio', null]; |
18 | | - private const GENERATE_2_ARGS = ['Title', 'Description', '2023-01-01', 'Name', 'Bio', null]; |
19 | | - private const GENERATE_3_ARGS = ['Title', 'Description', '2023-01-01', 'Name', 'Bio', 'https://example.com/f.jpg']; |
| 17 | + private const array GENERATE_1_ARGS = ['Title', 'Description', null , 'Name', 'Bio', null]; |
| 18 | + private const array GENERATE_2_ARGS = ['Title', 'Description', '2023-01-01', 'Name', 'Bio', null]; |
| 19 | + private const array GENERATE_3_ARGS = [ |
| 20 | + 'Title', |
| 21 | + 'Description', |
| 22 | + '2023-01-01', |
| 23 | + 'Name', |
| 24 | + 'Bio', |
| 25 | + 'https://example.com/f.jpg' |
| 26 | + ]; |
20 | 27 | // command args are what the generator command expects to be called with given a certain set of generate args |
21 | | - private const COMMAND_1_2_ARGS = ['Title', 'Description', '2023-01-01', 'Name', 'Bio', null]; |
22 | | - private const COMMAND_3_ARGS = ['Title', 'Description', '2023-01-01', 'Name', 'Bio', 'https://example.com/f.jpg']; |
| 28 | + private const array COMMAND_1_2_ARGS = ['Title', 'Description', '2023-01-01', 'Name', 'Bio', null]; |
| 29 | + private const array COMMAND_3_ARGS = [ |
| 30 | + 'Title', |
| 31 | + 'Description', |
| 32 | + '2023-01-01', |
| 33 | + 'Name', |
| 34 | + 'Bio', |
| 35 | + 'https://example.com/f.jpg' |
| 36 | + ]; |
23 | 37 |
|
24 | 38 | private CommandTester $commandTester; |
25 | 39 |
|
|
0 commit comments