File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed
Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -98,7 +98,9 @@ public function __construct(
9898 'All md:AttributeConsumingService endpoints must be an instance of AttributeConsumingService. ' ,
9999 );
100100
101- // test that only one ACS is marked as default
101+ /**
102+ * E87: test that only one ACS is marked as default
103+ */
102104 Assert::maxCount (
103105 array_filter (
104106 $ attributeConsumingService ,
@@ -107,7 +109,7 @@ function (AttributeConsumingService $acs) {
107109 },
108110 ),
109111 1 ,
110- 'Only one md: AttributeConsumingService can be set as default . ' ,
112+ 'At most one < AttributeConsumingService> element can have the attribute isDefault set to true . ' ,
111113 );
112114 }
113115
Original file line number Diff line number Diff line change @@ -286,7 +286,9 @@ public function testUnmarshallingTwoDefaultACS(): void
286286 $ acs ->item (1 )->setAttribute ('isDefault ' , 'true ' );
287287
288288 $ this ->expectException (AssertionFailedException::class);
289- $ this ->expectExceptionMessage ('Only one md:AttributeConsumingService can be set as default. ' );
289+ $ this ->expectExceptionMessage (
290+ 'At most one <AttributeConsumingService> element can have the attribute isDefault set to true. ' ,
291+ );
290292
291293 SPSSODescriptor::fromXML ($ xmlRepresentation ->documentElement );
292294 }
You can’t perform that action at this time.
0 commit comments