Closed (fixed)
Project:
Profile
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
13 May 2017 at 18:09 UTC
Updated:
19 Jun 2017 at 15:05 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
mglamanFirst step: Let's write a test to show default button is there
Second step: Hide "Set default" if isNew
Comment #3
dafederComment #4
dafederOK, new to test writing for D8 but will try to create a patch.
Comment #5
mglamandafeder thanks for trying! There's plenty of existing tests, can plug a new assertion into an existing test. You can find my in IRC/Drupal slack and ping for help during the week if you want.
Comment #6
mglamanWorking on test to prove the bug.
Comment #7
mglamanThis test should fail.
Comment #9
mglamanHere is passing patch. This checks if the profile type supports multiple. And we have logic which ensures inactive profiles are never default.
Comment #11
mglaman