Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Adding failing test for doctrine/common#135

  • Loading branch information...
commit 5c5c74b4e315ef65d9f1da8c60ee667d5bdec374 1 parent 8083888
@Ocramius Ocramius authored
Showing with 7 additions and 0 deletions.
  1. +7 −0 tests/Doctrine/Tests/Common/Collections/CollectionTest.php
View
7 tests/Doctrine/Tests/Common/Collections/CollectionTest.php
@@ -211,4 +211,11 @@ public function testSelect()
$this->assertNotSame($col, $this->_coll);
$this->assertEquals(1, count($col));
}
+
+ public function testCanRemoveNullValuesByKey()
+ {
+ $this->_coll->add(null);
+ $this->_coll->remove(0);
+ $this->assertTrue($this->_coll->isEmpty());
+ }
}

0 comments on commit 5c5c74b

Please sign in to comment.
Something went wrong with that request. Please try again.