Closed Bug 950876 Opened 11 years ago Closed 10 years ago

Support Contacts Unit Test Doesn't

Categories

(Firefox OS Graveyard :: Gaia::First Time Experience, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: qdot, Assigned: qdot)

Details

Attachments

(1 file, 1 obsolete file)

The Support Contacts Unit Test was copypasted from the wallpaper customizer test. It writes the contacts key/value block to the wallpaper, and we just check to make sure the settings lock was fired.

Yes. Really.

https://github.com/mozilla-b2g/gaia/blob/711854acd1bbc861d46c1a4a9a303d91a44a7026/apps/communications/ftu/test/unit/support_contacts_customizer_test.js
This isn't a 100% fix (we're still just testing to see if the lock was fired, not if things were set correctly), but it's improved over what it was before.
Attachment #8348435 - Flags: review?(aus)
Attachment #8348435 - Attachment is patch: false
Attachment #8348435 - Attachment mime type: text/plain → application/x-github-pullrequest
Attachment #8348435 - Attachment mime type: application/x-github-pullrequest → text/x-github-pullrequest
Using the right URL helps.
Attachment #8348435 - Attachment is obsolete: true
Attachment #8348435 - Flags: review?(aus)
Attachment #8348438 - Flags: review?(aus)
Comment on attachment 8348438 [details] [review]
Patch 1 (v2) - Make Support Contacts test use correct customizer

It's already a really good start!
Attachment #8348438 - Flags: review?(aus) → review+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: