ORIENT/tests/unit/plugins/database
Samuel Georges 7b0531e0a0 Tests to prove double save issue fixed
Has one and morph one relations would null on a second save. This is because the relation would use an UPDATE sql query to null the value, then leverage eloquent's save() method to apply it again. Eloquent's save() method does not apply attributes that are unchanged (not dirty), resulting in the value being left as null.

Refs #1986
2016-11-22 08:07:10 +11:00
..
AttachManyModelTest.php Tests for model delete event cascading 2016-01-13 20:11:39 +11:00
AttachOneModelTest.php Tests for model delete event cascading 2016-01-13 20:11:39 +11:00
BelongsToManyModelTest.php Styling fix to the welcome widget 2016-10-25 07:33:24 +11:00
BelongsToModelTest.php Write tests for morphTo simple value get/set 2016-01-25 10:15:58 +11:00
DeferredBindingTest.php Write tests for deferred binding 2015-09-16 05:53:36 +10:00
HasManyModelTest.php Write tests for hasMany simple value get/set 2016-01-24 12:39:39 +11:00
HasOneModelTest.php Tests to prove double save issue fixed 2016-11-22 08:07:10 +11:00
ModelTest.php Add new suite for database testing 2015-09-09 19:28:47 +10:00
MorphManyModelTest.php Write tests for MorphMany models 2016-07-16 14:44:08 +10:00
MorphOneModelTest.php Tests to prove double save issue fixed 2016-11-22 08:07:10 +11:00
MorphToModelTest.php Write tests for morphTo simple value get/set 2016-01-25 10:15:58 +11:00
NestedTreeModelTest.php Add support for "relation" with Tree models 2016-02-27 11:29:07 +11:00
NullableModelTest.php Minor touch ups to Nullable tests 2016-01-27 08:40:23 +11:00
RevisionableModelTest.php Write tests for revisionable trait 2015-09-19 05:36:58 +10:00
SimpleTreeModelTest.php Add support for "relation" with Tree models 2016-02-27 11:29:07 +11:00
SluggableModelTest.php Write collision tests for sluggable 2016-02-20 17:15:58 +11:00
SoftDeleteModelTest.php Tests for model delete event cascading 2016-01-13 20:11:39 +11:00