apisix/t/sanity.t
YuanSheng Wang b7694e0701
feature: mini example to load plugin. (#4)
* feature: mini example to load plugin.
2019-05-06 16:02:28 +08:00

24 lines
361 B
Perl

use t::APIMeta 'no_plan';
repeat_each(2);
no_long_string();
log_level('info');
run_tests();
__DATA__
=== TEST 1: sanity
--- config
location /t {
content_by_lua_block {
local apimeta = require("apimeta")
apimeta.access()
}
}
--- request
GET /t
--- error_code: 404
--- response_body_like eval
qr/404 Not Found/