mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-23 18:03:17 +00:00
Deprecate is_grouping in favor of isStory
This commit is contained in:
@@ -338,7 +338,7 @@ class UploadTest extends \PhraseanetAuthenticatedWebTestCase
|
||||
|
||||
$id = explode('_', $datas['id']);
|
||||
$record = new \record_adapter(self::$DI['app'], $id[0], $id[1]);
|
||||
$this->assertFalse($record->is_grouping());
|
||||
$this->assertFalse($record->isStory());
|
||||
$this->assertEquals([], $datas['reasons']);
|
||||
}
|
||||
|
||||
@@ -375,7 +375,7 @@ class UploadTest extends \PhraseanetAuthenticatedWebTestCase
|
||||
|
||||
$id = explode('_', $datas['id']);
|
||||
$record = new \record_adapter(self::$DI['app'], $id[0], $id[1]);
|
||||
$this->assertFalse($record->is_grouping());
|
||||
$this->assertFalse($record->isStory());
|
||||
$this->assertEquals(1, substr(strrev($record->get_status()), 4, 1));
|
||||
$this->assertEquals([], $datas['reasons']);
|
||||
}
|
||||
|
Reference in New Issue
Block a user