Код: Выделить всё
sorokin@sorokin-HP-ProBook-4540s:~/htdocs/hut-yii2$ ./vendor/bin/codecept run
Codeception PHP Testing Framework v1.9-dev
Powered by PHPUnit 3.7.28-24-g92e8faf by Sebastian Bergmann.
Unit Tests (29) -------------------------------------------------------------------------------------------------------
Trying to test human sqr (tests\unit\production\CommonPlotRentTest::testHumanSqr) Error
Trying to test title (tests\unit\production\CommonPlotRentTest::testTitle) Ok
Trying to test coords will update (tests\unit\production\CommonPlotRentTest::testCoordsWillUpdate) Ok
Trying to test coords will not update (tests\unit\production\CommonPlotRentTest::testCoordsWillNotUpdate) Ok
Trying to test long title update (tests\unit\production\CommonPlotRentTest::testLongTitleUpdate) Ok
Trying to test human price (tests\unit\production\CommonPlotRentTest::testHumanPrice) Error
Trying to test human sqr price (tests\unit\production\CommonPlotRentTest::testHumanSqrPrice) Error
Trying to test sqr variations (tests\unit\production\FilterFormTest::testSqrVariations) PHP Fatal error: Class 'app\models\FilterForm' not found in /home/sorokin/htdocs/hut-yii2/tests/unit/production/FilterFormTest.php on line 29
exception 'yii\base\ErrorException' with message 'Class 'app\models\FilterForm' not found' in /home/sorokin/htdocs/hut-yii2/tests/unit/production/FilterFormTest.php:29
Stack trace:
#0 [internal function]: yii\base\Application->handleFatalError()
#1 {main}
<!doctype html>
<html lang="en-us">
<head>
<meta charset="utf-8"/>
<title>Fatal Error – yii\base\ErrorException</title>
<style type="text/css">
/* reset */
html,body,div,span,h1,h2,h3,h4,h5,h6,p,pre,a,code,em,img,strong,b,i,ul,li{
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline;
}
body{
line-height: 1;
}
ul{
list-style: none;
}
/* base */
a{
text-decoration: none;
}
a:hover{
text-decoration: underline;
}
h1,h2,h3,p,img,ul li{
font-family: Arial,sans-serif;
color: #505050;
}
html,body{
overflow-x: hidden;
}
/* header */
.header{
min-width: 860px; /* 960px - 50px * 2 */
margin: 0 auto;
background: #f3f3f3;
padding: 40px 50px 30px 50px;
border-bottom: #ccc 1px solid;
}