- Issue created by @tr
- Status changed to Fixed
5 months ago 5:39am 9 September 2024 Automatically closed - issue fixed for 2 weeks with no activity.
/**
* {@inheritdoc}
*
* @todo This should be 'protected', but the Drupal core REST module test
* base improperly overrides it to be public which requires that we also use
* the wrong visibility here. Restore 'protected' when core gets fixed.
*/
public function setUp(): void {
parent::setUp();
$auth = isset(static::$auth) ? [static::$auth] : [];
$this->provisionResource([static::$format], $auth);
}
This was finally fixed in Drupal 10+ by the core issue π Ensure correct signature for setUp(), tearDown(), setUpBeforeClass(), and assertPostConditions() methods Fixed so we can now fix it in Ip2Country. Because branch 2.0.x still supports Drupal 9, this can only be done in Ip2Country 2.1.x.
Fixed
2.1
Code
Automatically closed - issue fixed for 2 weeks with no activity.