changeweb / Unifiedtransform

A school management Software
https://changeweb.github.io/Unifiedtransform/
GNU General Public License v3.0
2.79k stars 1.22k forks source link

Unit test is broken. Shows "Allowed memory size of 67108864 bytes exhausted" #313

Open handhikadj opened 3 years ago

handhikadj commented 3 years ago

Describe the bug

I got the message during tests run We should de-allocate memory after a test passed I will work on this issue once I have free time

To Reproduce Steps to reproduce the behavior:

  1. Go to project root
  2. Run php artisan test

Expected behavior All tests passed

Screenshots image

Desktop (please complete the following information): O.S: Ubuntu 20.04 (VPS Server)