【文件属性】:
文件名称:AssertJsonStructure:用于检查 REST API JSON 响应的 Codeception 断言
文件大小:4KB
文件格式:ZIP
更新时间:2021-07-03 23:12:35
PHP
断言结构
用于检查 REST API JSON 响应的 Codeception 断言
问题
你有 REST API 方法 /users/api/users 响应:
[
{
" user_id " : 1 ,
" surname " : " Rabnovich " ,
" name " : " Nikolay " ,
" patronymic " : " Yur'evich " ,
" username " : " ryabina " ,
" country_id " : 153 ,
" language_id " : " ru " ,
" birth_date " : " 1991-12-31 " ,
" email_main " : "
【文件预览】:
AssertJsonStructure-master
----functional()
--------UsersCest.php(1KB)
----README.md(3KB)
----tests()
--------_support()