Basic Auth Unit Test Failing

I am new to Kong and will building a custom auth plugin. In order to so, I am trying to understand the workings of the Basic Auth plugin and its unit test cases.

What is the purpose of the 5 different unit test scripts and why they are organized that way

When I run the unit test case with Busted, the 05-declarative_spec.lua fails with an error [off] schema violation (no_broadcast_crud_event: unknown field). Why is this failing?

Am using Kong 2.4.x

Thanks for the help


© 2019 Kong Inc.    Terms  •  Privacy  •  FAQ