Exemple #1
0
 public function testSubmitHam()
 {
     $response = "HTTP/1.0 200 OK\r\n" . "X-powered-by: PHP/4.4.2\r\n" . "Content-type: text/html\r\n" . "Content-length: 41\r\n" . "Server: LiteSpeed\r\n" . "Date: Tue, 06 Feb 2007 15:01:47 GMT\r\n" . "Connection: close\r\n" . "\r\n" . "Thanks for making the web a better place.";
     $this->adapter->setResponse($response);
     $this->akismet->submitHam($this->comment);
 }