function testTwoSet() { $pixelDb = new PixelDb(); $pixelDb->update('users')->set(['username' => 'Antigya Avaga'])->set(['password' => 'New Password'], null, 'sensitive_'); $this->assertEquals('UPDATE users SET username = :p_username, password = :sensitive_password', $pixelDb->getSqlString()); }
function testUpdate() { $pixelDb = new PixelDb(); $pixelDb->update('users'); $this->assertEquals('UPDATE users', $pixelDb->getSqlString()); }