You are here

protected function AssetRefreshManagerTest::getAssetIdFieldsStub in Media: Acquia DAM 8

Returns asset id fields stub.

Return value

array Asset id fields stub where key is the bundle and value is the field name.

4 calls to AssetRefreshManagerTest::getAssetIdFieldsStub()
AssetRefreshManagerTest::testFailedApiRequest in tests/src/Unit/AssetRefreshManagerTest.php
Tests a "failed API request" scenario.
AssetRefreshManagerTest::testInterruptedFetch in tests/src/Unit/AssetRefreshManagerTest.php
Tests an "interrupted API fetch (a result set exceeds the limit)" scenario.
AssetRefreshManagerTest::testNoMatchingMediaEntityIds in tests/src/Unit/AssetRefreshManagerTest.php
Tests a "no matching media entity ids are found" scenario.
AssetRefreshManagerTest::testNonInterruptedFetch in tests/src/Unit/AssetRefreshManagerTest.php
Tests a "non-interrupted API fetch" scenario.

File

tests/src/Unit/AssetRefreshManagerTest.php, line 498

Class

AssetRefreshManagerTest
AssetRefreshManager Service test.

Namespace

Drupal\Tests\media_acquiadam\Unit

Code

protected function getAssetIdFieldsStub() {
  return [
    'test_bundle' => 'field_1',
  ];
}