Detected 1 occurrence(s) of ‘\s*pass[word]+\s*[:=]\s*["'][a-z0-9\-_\!\$]+["']‘: include '../../../config/application.config.php' ); parent::setUp(); } public function testAuthActionCanBeAccessed() { $postData = new stdClass(); $postData->username = "someAppUser"; $postData->password = "12345"; $postData = json_decode(json_encode($postData),true); $this->dispatch('/auth', 'POST', $postData); $response = $this->getResponse(); $this->assertResponseStatusCode(200); $this->assertActionName('auth'); } } Source: http://pastebin.com/raw.php?i=a0f7sGz1
↧