13 lines
422 B
C++
13 lines
422 B
C++
// Route: POST /agent/registry/reject
|
|||
|
|
#include "agent/registry/cases.hpp"
|
||
|
|
|
||
|
|
using namespace molo::example::test;
|
||
|
|
|
||
|
|
int main() {
|
||
|
|
check_google_post_route("/agent/registry/reject",
|
||
|
|
"{\"name\":\"projects/test-project/locations/us-central1/agents/a1\",\"actor\":\"alice\"}",
|
||
|
|
"{\"name\":\"projects/test-project/locations/us-central1/agents/a1\"}",
|
||
|
|
"missing actor");
|
||
|
|
return finish("agent/registry/reject");
|
||
|
|
}
|