---
"Basic":

  - skip:
      version:  "0 - 0.90.0"
      reason:   "Get source not supported in pre 0.90.1 versions."
  - do:
      catch:   missing
      get_source:
        index: test_1
        type:  test
        id:    1

  - do:
      index:
        index: test_1
        type:  test
        id:    1
        body:  { "foo": "bar" }

  - do:
      get_source:
        index: test_1
        type:  test
        id:    1

  - match: { '':  { foo: bar } }

  - do:
      get_source:
        index: test_1
        type: _all
        id:    1

  - match: { '':  { foo: bar } }

---
"Basic":

  - skip:
      version:  "0 - 0.90.0"
      reason:   "Get source not supported in pre 0.90.1 versions."
  - do:
      catch:   missing
      get_source:
        index: test_1
        type:  test
        id:    1

  - do:
      index:
        index: test_1
        type:  test
        id:    1
        body:  { "foo": "bar" }

  - do:
      get_source:
        index: test_1
        type:  test
        id:    1

  - match: { '':  { foo: bar } }

  - do:
      get_source:
        index: test_1
        id:    1

  - match: { '':  { foo: bar } }

Revert "Changed the missing `type` to `_all` in "Get Source" test"
Revert "Changed the missing `type` to `_all` in "Get Source" test"

This reverts commit f834a8b9a18739ba97eba592be98ce6804082d37.
