-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
Its a littlebit silly we need to install external packages to generate fixtures.
This also makes testing on alien platforms more difficult as these tests are simply skipped – which is not a good thing.
The tests that depend on that Faker package should be updated to use onetime-hardcoded fixtures that we bundle with the test suite.
That way we'd get a consistent re-usable set of fixture that can be used all over the place, rather then the other silly
// load fixtures for test $manager->executeInsert(NS, array('_id' => 1, 'x' => 1)); $manager->executeInsert(NS, array('_id' => 2, 'x' => 1));
to do delete test, we could do loadFixture(....) in the skipif and then the delete test - so if the load fails, it doesn't affect the test.
- is related to
-
PHPC-89 Add data fixtures to test suite
- Closed