diff --git a/tests/Support/SupportCollectionTest.php b/tests/Support/SupportCollectionTest.php index 0153b69851a9..04d75d882235 100755 --- a/tests/Support/SupportCollectionTest.php +++ b/tests/Support/SupportCollectionTest.php @@ -1161,6 +1161,15 @@ public function testValues($collection) })->values()->all()); } + /** + * @dataProvider collectionClassProvider + */ + public function testValuesResetKey($collection) + { + $data = new $collection([1 => 'a', 2 => 'b', 3 => 'c']); + $this->assertEquals([0 => 'a', 1 => 'b', 2 => 'c'], $data->values()->all()); + } + /** * @dataProvider collectionClassProvider */