Closed nikophil closed 8 months ago
Here are some test backported from Unit\FactoryTest which were creating errors with foundry 2.x code
Unit\FactoryTest
can_register_custom_faker()
can_use_arrays_for_attribute_values()
can_register_default_instantiator()
instantiating_with_proxy_attribute_normalizes_to_underlying_object()
instantiating_with_factory_attribute_instantiates_the_factory()
can_create_object()
can_add_after_persist_events()
Here are some test backported from
Unit\FactoryTest
which were creating errors with foundry 2.x codeFactoryTest
can_register_custom_faker()
can_use_arrays_for_attribute_values()
can_register_default_instantiator()
instantiating_with_proxy_attribute_normalizes_to_underlying_object()
instantiating_with_factory_attribute_instantiates_the_factory()
can_create_object()
~ not useful test in 2.xcan_add_after_persist_events()
~ After persist event should not be called in unit test (?)