PHP Classes

File: tests/api/Find/ArticleUsingBadParamsCept.php

Recommend this page to a friend!
  Classes of Gjero Krsteski  >  PHP Nuclear Reactor  >  tests/api/Find/ArticleUsingBadParamsCept.php  >  Download  
File: tests/api/Find/ArticleUsingBadParamsCept.php
Role: Example script
Content type: text/plain
Description: Example script
Class: PHP Nuclear Reactor
Asynchronous RESTful API using ReactPHP and PIMF
Author: By
Last change: Update of tests/api/Find/ArticleUsingBadParamsCept.php
Date: 2 years ago
Size: 170 bytes
 

Contents

Class file image Download
<?php
$I
= new ApiTester($scenario);
$I->wantTo('find article via API which using bad param name');
$I->sendGET('/articles', ['title' => 1]);
$I->seeResponseCodeIs(400);

For more information send a message to info at phpclasses dot org.