We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 02aacff commit bd441faCopy full SHA for bd441fa
1 file changed
tests/unit/Claim/ClaimsTest.php
@@ -245,6 +245,14 @@ public function testAddClaim() {
245
// Insert claim with an index out of bounds:
246
$claim5 = $this->makeClaim( new PropertyNoValueSnak( new PropertyId( 'P19' ) ) );
247
$claims->addClaim( $claim5, 99999 );
248
+
249
+ $this->assertSame( array(
250
+ 'TEST$CLAIM-3' => $claim3,
251
+ 'TEST$CLAIM-4' => $claim4,
252
+ 'TEST$CLAIM-1' => $claim1,
253
+ 'TEST$CLAIM-2' => $claim2,
254
+ 'TEST$CLAIM-5' => $claim5,
255
+ ), $claims->getArrayCopy() );
256
}
257
258
public function testAppend() {
0 commit comments