diff --git a/sql/structure.sql b/sql/structure.sql index 6c30eec3e40f9026928b454fe613d830a4cebfb4..993212814d63de1bc729d771053db4a29e62a3bb 100755 --- a/sql/structure.sql +++ b/sql/structure.sql @@ -80,7 +80,7 @@ CREATE TABLE users picture text, enabled boolean DEFAULT TRUE, mode character varying(50) NOT NULL, - preferences json NOT NULL DEFAULT '{"writingMode" : "direct", "writingSize" : 1, "writingColor" : "#FFFFFF"}', + preferences json NOT NULL DEFAULT '{"writingMode" : "direct", "writingSize" : 1, "writingColor" : "#000000"}', cookie_key character varying(255) DEFAULT NULL::character varying, cookie_date timestamp without time zone, password_modification_date timestamp without time zone DEFAULT CURRENT_TIMESTAMP, diff --git a/test/unitTests/app/user/UserControllerTest.php b/test/unitTests/app/user/UserControllerTest.php index 0c24979bd60a9d1ab77f0b5c4a2a775c68e95a9a..3d58b060465c0c167f297f179f9ed5d055b70766 100755 --- a/test/unitTests/app/user/UserControllerTest.php +++ b/test/unitTests/app/user/UserControllerTest.php @@ -197,7 +197,7 @@ class UserControllerTest extends TestCase 'preferences' => [ 'writingMode' => 'direct', 'writingSize' => 1, - 'writingColor' => '#FFFFFF', + 'writingColor' => '#000000', ] ]; @@ -215,7 +215,7 @@ class UserControllerTest extends TestCase $this->assertSame('JANE', $responseBody->user->lastname); $this->assertSame('direct', $responseBody->user->preferences->writingMode); $this->assertSame(1, $responseBody->user->preferences->writingSize); - $this->assertSame('#FFFFFF', $responseBody->user->preferences->writingColor); + $this->assertSame('#000000', $responseBody->user->preferences->writingColor); } public function testCreateSignature()