can get endpoints raw element, get entity by a separate call

This commit is contained in:
2025-01-04 22:37:16 +01:00
parent 55bad44a22
commit a88bb6d33f
12 changed files with 64 additions and 29 deletions

View File

@ -99,6 +99,7 @@ class FieldTest extends IntegrationTestCase
* @test
* @throws ReflectionException
* @covers \D3\KlicktippPhpClient\Resources\Field::get
* @covers \D3\KlicktippPhpClient\Resources\Field::getEntity
* @dataProvider getDataProvider
*/
public function testGet(ResponseInterface $response, ?array $expected, bool $expectException = false)
@ -111,7 +112,7 @@ class FieldTest extends IntegrationTestCase
$return = $this->callMethod(
$sut,
'get',
'getEntity',
['12514414']
);