doctrine / data-fixtures

Doctrine2 ORM Data Fixtures Extensions
http://www.doctrine-project.org
MIT License
2.77k stars 224 forks source link

No Exception thrown if a order-number is used twice #218

Closed OskarStark closed 7 years ago

OskarStark commented 8 years ago

There should be an Exception if a number for the ordering is used twice.

I have 2 Fixtures, which are using:

    public function getOrder()
    {
        return 5100;
    }
SimonHeimberg commented 7 years ago

I guess this is expected. You can use this when the order between this two does not matter. The execution order of this two fixtures is undefined, but the order relative to other numbers is clear.

Ocramius commented 7 years ago

Closing as per comment of @SimonHeimberg.

If this is still to be considered a bug, then a failing test case is required first.