AntonyThorpe\Consumer\Tests\BulkLoaderUpsertManyRecordsTest
Synopsis
class BulkLoaderUpsertManyRecordsTest
extends SapphireTest
{
- // members
- protected static array $fixture_file = ;
- protected static array $extra_dataobjects = ;
- protected string $jsondata_to_upsert = '[ { "id": 2, "name": "New Name", "username": "Antonette", "email": "Shanna@melissa.tv", "phone": "New Phone Number", "website": "anastasia.net", "lastmodified": "2015-11-21T08:07:20" }, { "id": 3, "name": "Clementine Bauch", "username": "NewUserName", "email": "Nathan@yesenia.net", "phone": "1-463-123-4447", "website": "ramiro.info", "lastmodified": "2015-11-21T08:07:20" }, { "id": 18, "name": "Brand new guy", "username": "Welcome to the dataobject", "email": "brandnewguy@net.net", "phone": "493-170-9623 x156", "website": "yea.biz", "lastmodified": "2015-11-21T08:07:20" } ]';
- // methods
- public void testUpsertManyRecords()
- public void testUpsertManyRecordsWithPreview()
Hierarchy
Extends
- SilverStripe\Dev\SapphireTest
Members
protected
- $extra_dataobjects
- $fixture_file
- $jsondata_to_upsert
—
string
JSON data for test