lithium\tests\cases\data\source\DatabaseTest::testStringValueWithSchemaFormatter PHP Method

testStringValueWithSchemaFormatter() public method

    public function testStringValueWithSchemaFormatter()
    {
        $result = $this->_db->value('string', array('type' => 'string'));
        $this->assertEqual("'string'", $result);
        $result = $this->_db->value('1', array('type' => 'string'));
        $this->assertIdentical("'1'", $result);
    }
DatabaseTest