Comments & Discussion
my tests keep failing and i get this massage "Expected response status code [200] but received 500. Failed asserting that 500 is identical to 200.", also when i register from breeze dashboard and i go to '/products' it deletes my new accoute from the database and if i update the page i get this massage "Attempt to read property "name" on null" (this massage desipear when i register and login to the account but when im at the '/produtc' page and refresh it, it happens again and the accoute get deleted and i get the massage agian)
This is my error message:
SQLSTATE[42S02]: Base table or view not found: 1146 Table 'testing.products' doesn't exist (Connection: mysql, SQL: insert into
products(name,price,updated_at,created_at) values (Product 2, 12, 2024-04-24 19:44:59, 2024-04-24 19:44:59))
I want to mention that while I was writing my own tests, they were not running. The filename must end with 'Test,' and the functions within the class must begin with 'test' (respecting the lowercase and uppercase)