Dropped index hint tests

This commit is contained in:
Joshua Sherman 2014-01-17 13:16:37 -05:00
parent 68365142e7
commit af16edfedd

View file

@ -176,30 +176,6 @@ class ModelTest extends PHPUnit_Framework_TestCase
]);
}
public function testIndexHintsString()
{
$model = new MockModelWithoutColumns([
'conditions' => ['pickles.id' => 1],
'hints' => 'is_deleted',
]);
}
public function testIndexHintsArray()
{
$model = new MockModelWithoutColumns([
'conditions' => ['pickles.id' => 1],
'hints' => ['is_deleted'],
]);
}
public function testIndexHintsMultiple()
{
$model = new MockOtherModel([
'conditions' => ['id' => 1],
'hints' => ['IGNORE INDEX' => ['pickle_id', 'is_deleted']],
]);
}
public function testFieldValues()
{
$model = new MockModel('all');