fix test suite

This commit is contained in:
Manuel Raynaud
2014-02-11 10:21:12 +01:00
parent 38bf62a81b
commit 52cef6d4b9

View File

@@ -27,8 +27,8 @@ use Thelia\Action\FeatureAv;
use Thelia\Core\Event\Feature\FeatureAvCreateEvent;
use Thelia\Core\Event\Feature\FeatureAvDeleteEvent;
use Thelia\Core\Event\Feature\FeatureAvUpdateEvent;
use Thelia\Model\FeatureAvQuery;
use Thelia\Model\FeatureAv as FeatureAvModel;
use Thelia\Model\FeatureQuery;
/**
@@ -50,7 +50,7 @@ class FeatureAvTest extends \PHPUnit_Framework_TestCase
*/
protected function getRandomFeature()
{
$feature = FeatureAvQuery::create()
$feature = FeatureQuery::create()
->addAscendingOrderByColumn('RAND()')
->findOne();