Exemplo n.º 1
0
 /**
  * Test for setting user config value
  */
 public function testSetUserValue()
 {
     $this->object->setUserValue(null, 'lang', 'cs', 'en');
     $this->object->setUserValue("TEST_COOKIE_USER_VAL", '', 'cfg_val_1');
     $this->assertEquals(
         $this->object->getUserValue("TEST_COOKIE_USER_VAL", 'fail'),
         'cfg_val_1'
     );
 }
Exemplo n.º 2
0
    /**
     * @todo Implement testSetUserValue().
     */
    public function testSetUserValue()
    {
        $this->object->setUserValue(null, 'lang', $GLOBALS['lang'], 'en');
        $this->object->setUserValue("TEST_COOKIE_USER_VAL", '', 'cfg_val_1');

        // Remove the following lines when you implement this test.
//        $this->markTestIncomplete(
//          'This test has not been implemented yet.'
//        );
    }