Adapt API tests for dynamic usage
This commit is contained in:
@@ -10,7 +10,8 @@ class VersionTest extends ApiTest
|
||||
{
|
||||
public function test()
|
||||
{
|
||||
Version::rawContent(['extension' => 'json']);
|
||||
$version = new Version(['extension' => 'json']);
|
||||
$version->rawContent();
|
||||
|
||||
$result = json_decode(ApiResponseDouble::getOutput());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user