Skip to content

Commit a3c7eaa

Browse files
committed
update wrapper script
1 parent 8a0b081 commit a3c7eaa

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

scripts/utilities/letter-test-data/src/create-batch-letters.sh

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -105,9 +105,9 @@ cd "$PROJECT_DIR"
105105

106106
# Define the three batches with different specification and group IDs
107107
BATCHES=(
108-
"integration-specification-english:group-english"
109-
"integration-specification-braille:group-accessible"
110-
"integration-specification-arabic:group-international"
108+
"integration-specification-english:group-english:test-letter-standard"
109+
"integration-specification-braille:group-accessible:test-letter-standard"
110+
"integration-specification-arabic:group-international:test-letter-large"
111111
)
112112

113113
# Counter for tracking batch creation
@@ -121,7 +121,7 @@ echo ""
121121
# Create each batch
122122
for batch in "${BATCHES[@]}"; do
123123
# Parse specification-id and group-id from the batch definition
124-
IFS=':' read -r SPEC_ID GROUP_ID <<< "$batch"
124+
IFS=':' read -r SPEC_ID GROUP_ID TEST_LETTER <<< "$batch"
125125

126126
echo "[$BATCH_COUNTER/$TOTAL_BATCHES] Creating batch with specification-id: $SPEC_ID, group-id: $GROUP_ID-$SUPPLIER_ID"
127127

@@ -134,7 +134,8 @@ for batch in "${BATCHES[@]}"; do
134134
--group-id "$GROUP_ID-$SUPPLIER_ID" \
135135
--status "$STATUS" \
136136
--count "$COUNT" \
137-
--ttl-hours "$TTL_HOURS"
137+
--ttl-hours "$TTL_HOURS" \
138+
--test-letter "$TEST_LETTER"
138139

139140
if [[ $? -eq 0 ]]; then
140141
echo "✓ Batch $BATCH_COUNTER completed successfully"

0 commit comments

Comments
 (0)