Files
moloapp/tests/example/agent/registry/reject_test.cpp
T

13 lines
422 B
C++
Raw Normal View History

// 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");
}