/** * Tests the quoteName method. * * @return void * * @since 11.3 */ public function testQuoteName() { $q = new JDatabaseQueryPostgresql($this->dbo); $this->assertEquals('"test"', $q->quoteName('test')); }
/** * Tests the quoteName method. * * @return void * * @since 11.3 */ public function testQuoteName() { $q = new JDatabaseQueryPostgresql($this->dbo); $this->assertThat($q->quoteName('test'), $this->equalTo('"test"'), 'The quoteName method should be a proxy for the JDatabase::escape method.'); }