Shorten "PConfiguration" to "PConfig" again, since the Wrapper is gone
This commit is contained in:
@@ -8,7 +8,7 @@ namespace Friendica\Test;
|
||||
use Dice\Dice;
|
||||
use Friendica\App;
|
||||
use Friendica\Core\Config\IConfig;
|
||||
use Friendica\Core\Config\IPConfiguration;
|
||||
use Friendica\Core\PConfig\IPConfig;
|
||||
use Friendica\Core\Protocol;
|
||||
use Friendica\Core\Session;
|
||||
use Friendica\Core\Session\ISession;
|
||||
@@ -827,7 +827,7 @@ class ApiTest extends DatabaseTest
|
||||
*/
|
||||
public function testApiGetUserWithFrioSchema()
|
||||
{
|
||||
$pConfig = $this->dice->create(IPConfiguration::class);
|
||||
$pConfig = $this->dice->create(IPConfig::class);
|
||||
$pConfig->set($this->selfUser['id'], 'frio', 'schema', 'red');
|
||||
$user = api_get_user($this->app);
|
||||
$this->assertSelfUser($user);
|
||||
@@ -843,7 +843,7 @@ class ApiTest extends DatabaseTest
|
||||
*/
|
||||
public function testApiGetUserWithCustomFrioSchema()
|
||||
{
|
||||
$pConfig = $this->dice->create(IPConfiguration::class);
|
||||
$pConfig = $this->dice->create(IPConfig::class);
|
||||
$pConfig->set($this->selfUser['id'], 'frio', 'schema', '---');
|
||||
$pConfig->set($this->selfUser['id'], 'frio', 'nav_bg', '#123456');
|
||||
$pConfig->set($this->selfUser['id'], 'frio', 'link_color', '#123456');
|
||||
@@ -862,7 +862,7 @@ class ApiTest extends DatabaseTest
|
||||
*/
|
||||
public function testApiGetUserWithEmptyFrioSchema()
|
||||
{
|
||||
$pConfig = $this->dice->create(IPConfiguration::class);
|
||||
$pConfig = $this->dice->create(IPConfig::class);
|
||||
$pConfig->set($this->selfUser['id'], 'frio', 'schema', '---');
|
||||
$user = api_get_user($this->app);
|
||||
$this->assertSelfUser($user);
|
||||
|
||||
Reference in New Issue
Block a user