Skip to content

Commit bd441fa

Browse files
committed
Re-add assertion
1 parent 02aacff commit bd441fa

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

tests/unit/Claim/ClaimsTest.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -245,6 +245,14 @@ public function testAddClaim() {
245245
// Insert claim with an index out of bounds:
246246
$claim5 = $this->makeClaim( new PropertyNoValueSnak( new PropertyId( 'P19' ) ) );
247247
$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() );
248256
}
249257

250258
public function testAppend() {

0 commit comments

Comments
 (0)