Fix nock url for delete preferences

Description

Issue is with the test suite. This is not a regression and does not effect end user.

The test were printing an error message because the url for nock when deleting a preference was incorrect and the http request didn't succeed.

Expected: No error logs
Observed: Has an error log when running tests

Note: Making a ticket to track a community contribution

QA Test Steps

No error logs when running tests.

Reporter

None

Mana

None

Assignee

Mattermost Community

QA Assignee

Jelena Gilliam

Reporter

Sudheer Timmaraju

Epic Link

None

Fix versions

Mattermost Team

Apps

Sprint

None

Labels

None

QA Testing Areas

Other (write in QA test steps)

GitHub Issue

None

Components

None

Severity

None
Configure