/** * Tests the JDatabaseQueryPostgresql::escape method. * * @return void * * @since 11.3 */ public function testEscape() { $q = new JDatabaseQueryPostgresql($this->dbo); $this->assertEquals('_foo_', $q->escape('foo')); }
/** * Tests the JDatabaseQueryPostgresql::escape method. * * @return void * * @since 11.3 */ public function testEscape() { $q = new JDatabaseQueryPostgresql($this->dbo); $this->assertThat($q->escape('foo'), $this->equalTo('_foo_')); }