AntonyThorpe\Consumer\Tests\BulkLoaderDeleteManyRecordsTest
Synopsis
class BulkLoaderDeleteManyRecordsTest
extends SapphireTest
{
- // members
- protected static array $fixture_file = ;
- protected static array $extra_dataobjects = ;
- protected string $jsondata_to_delete = '[ { "id": 2, "name": "Ervin Howell", "username": "Antonette", "email": "Shanna@melissa.tv", "phone": "010-692-6593 x09125", "website": "anastasia.net", "lastmodified": "2015-11-21T08:07:20" }, { "id": 3, "name": "Clementine Bauch", "username": "Samantha", "email": "Nathan@yesenia.net", "phone": "1-463-123-4447", "website": "ramiro.info", "lastmodified": "2015-11-21T08:07:20" }, { "id": 18, "name": "Brand new guy who doesnt do anything", "username": "Never been near a dataobject", "email": "shouldnotchangeorbedeleted@net.net", "phone": "493-170-9623 x156", "website": "yea.biz", "lastmodified": "2015-11-21T08:07:20" } ]';
- // methods
- public void testDeleteManyRecords()
- public void testDeleteManyWithPreview()
Hierarchy
Extends
- SilverStripe\Dev\SapphireTest
Members
protected
- $extra_dataobjects
- $fixture_file
- $jsondata_to_delete
—
string
JSON data for test