You are here

private property HttpTest::$testData in Migrate Plus 8.4

Same name and namespace in other branches
  1. 8.5 tests/src/Unit/data_fetcher/HttpTest.php \Drupal\Tests\migrate_plus\Unit\data_fetcher\HttpTest::testData

Test data to validate an HTTP response against.

Type: string

File

tests/src/Unit/data_fetcher/HttpTest.php, line 73
PHPUnit tests for the Migrate Plus Http 'data fetcher' plugin.

Class

HttpTest
@coversDefaultClass \Drupal\migrate_plus\Plugin\migrate_plus\data_fetcher\Http

Namespace

Drupal\Tests\migrate_plus\Unit\data_fetcher

Code

private $testData = '
    {
      "id": 1,
      "name": "Joe Bloggs"
    }
  ';