Skip to content

Commit f072a53

Browse files
committed
Support "delete" operation in mo-tests
1 parent a7a41d9 commit f072a53

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

scripts/convert-mo-tests.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,9 @@ function MOOperation($phase, &$output) {
166166
case "post":
167167
return 'mo_post("' . $phase["uri"] . '", ' . var_export($phase["payload"], true) . ');';
168168

169+
case "delete":
170+
return 'mo_delete("' . $phase["uri"] . '");';
171+
169172
default:
170173
throw new UnexpectedValueException("Don't know the method $method");
171174
}

0 commit comments

Comments
 (0)