AcsfMessageResponseUnitTest.inc in Acquia Cloud Site Factory Connector 8.2
Same filename and directory in other branches
File
tests/AcsfMessageResponseUnitTest.incView source
<?php
use Drupal\acsf\AcsfMessageResponse;
/**
* This simple interface defines the way that responses are constructed.
*/
class AcsfMessageResponseUnitTest extends AcsfMessageResponse {
/**
* Determines whether the test failed.
*
* @return bool
* Whether the test failed.
*/
public function failed() {
if ($this->code) {
return TRUE;
}
return FALSE;
}
}
Classes
Name | Description |
---|---|
AcsfMessageResponseUnitTest | This simple interface defines the way that responses are constructed. |