mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Skipping tests that is not compatible with SQL Server.
This commit is contained in:
parent
e049e35b5d
commit
76831863e3
1 changed files with 4 additions and 0 deletions
|
@ -606,6 +606,8 @@ class BehaviorCollectionTest extends CakeTestCase {
|
|||
* @return void
|
||||
*/
|
||||
function testBehaviorFindCallbacks() {
|
||||
$this->skipIf($this->db instanceof Mssql, 'This test is not compatible with Mssql.');
|
||||
|
||||
$Apple = new Apple();
|
||||
$expected = $Apple->find('all');
|
||||
|
||||
|
@ -805,6 +807,8 @@ class BehaviorCollectionTest extends CakeTestCase {
|
|||
* @return void
|
||||
*/
|
||||
function testBehaviorBelongsToFindCallbacks() {
|
||||
$this->skipIf($this->db instanceof Mssql, 'This test is not compatible with Mssql.');
|
||||
|
||||
$Apple = new Apple();
|
||||
$Apple->unbindModel(array('hasMany' => array('Child'), 'hasOne' => array('Sample')), false);
|
||||
$expected = $Apple->find('all');
|
||||
|
|
Loading…
Reference in a new issue