lundi 2 novembre 2020

Laravel Dusk Testing for destroy function

  1. Tests\Browser\HolidaysTest::testNewHolidayDestroy Failed asserting that a row in the table [holidays] does not match the attributes { "id": 1, "holiday": "2020-11-03", "holiday_type": 3, "deleted_at": null, "created_at": null, "updated_at": null }.

Found similar results: [ { "id": 1, "holiday": "2020-11-03", "holiday_type": 3, "deleted_at": null, "created_at": null, "updated_at": null } ].

/var/www/html/Projects/SuperDoc/Backend/vendor/laravel/framework/src/Illuminate/Foundation/Testing/Concerns/InteractsWithDatabase.php:46 /var/www/html/Projects/SuperDoc/Backend/tests/Browser/HolidaysTest.php:85

Aucun commentaire:

Enregistrer un commentaire