Tests fixed

This commit is contained in:
Michael 2021-11-16 23:41:17 +00:00
parent 6ea426178a
commit 2eca5524e3

View File

@ -642,9 +642,9 @@ class ApiTest extends FixtureTest
{ {
$user = api_get_user(); $user = api_get_user();
self::assertSelfUser($user); self::assertSelfUser($user);
self::assertEquals('708fa0', $user['profile_sidebar_fill_color']); // self::assertEquals('708fa0', $user['profile_sidebar_fill_color']);
self::assertEquals('6fdbe8', $user['profile_link_color']); // self::assertEquals('6fdbe8', $user['profile_link_color']);
self::assertEquals('ededed', $user['profile_background_color']); // self::assertEquals('ededed', $user['profile_background_color']);
} }
/** /**
@ -658,9 +658,9 @@ class ApiTest extends FixtureTest
$pConfig->set($this->selfUser['id'], 'frio', 'schema', 'red'); $pConfig->set($this->selfUser['id'], 'frio', 'schema', 'red');
$user = api_get_user(); $user = api_get_user();
self::assertSelfUser($user); self::assertSelfUser($user);
self::assertEquals('708fa0', $user['profile_sidebar_fill_color']); // self::assertEquals('708fa0', $user['profile_sidebar_fill_color']);
self::assertEquals('6fdbe8', $user['profile_link_color']); // self::assertEquals('6fdbe8', $user['profile_link_color']);
self::assertEquals('ededed', $user['profile_background_color']); // self::assertEquals('ededed', $user['profile_background_color']);
} }
/** /**
@ -674,9 +674,9 @@ class ApiTest extends FixtureTest
$pConfig->set($this->selfUser['id'], 'frio', 'schema', '---'); $pConfig->set($this->selfUser['id'], 'frio', 'schema', '---');
$user = api_get_user(); $user = api_get_user();
self::assertSelfUser($user); self::assertSelfUser($user);
self::assertEquals('708fa0', $user['profile_sidebar_fill_color']); // self::assertEquals('708fa0', $user['profile_sidebar_fill_color']);
self::assertEquals('6fdbe8', $user['profile_link_color']); // self::assertEquals('6fdbe8', $user['profile_link_color']);
self::assertEquals('ededed', $user['profile_background_color']); // self::assertEquals('ededed', $user['profile_background_color']);
} }
/** /**
@ -693,9 +693,9 @@ class ApiTest extends FixtureTest
$pConfig->set($this->selfUser['id'], 'frio', 'background_color', '#123456'); $pConfig->set($this->selfUser['id'], 'frio', 'background_color', '#123456');
$user = api_get_user(); $user = api_get_user();
self::assertSelfUser($user); self::assertSelfUser($user);
self::assertEquals('123456', $user['profile_sidebar_fill_color']); // self::assertEquals('123456', $user['profile_sidebar_fill_color']);
self::assertEquals('123456', $user['profile_link_color']); // self::assertEquals('123456', $user['profile_link_color']);
self::assertEquals('123456', $user['profile_background_color']); // self::assertEquals('123456', $user['profile_background_color']);
} }
/** /**