itu-bswu / RentIt

Digital media rental service (academic project)
4 stars 0 forks source link

Almost all tests fail #6

Closed esfdk closed 12 years ago

esfdk commented 12 years ago

Exception: Initialization method RentIt.Tests.Scenarios.SystemAdmin.GetUsersTest.TestInit threw exception. System.Data.SqlClient.SqlException: System.Data.SqlClient.SqlException: Invalid column name 'genre'..

esfdk commented 12 years ago

I think this has to do with the database changes? No idea how to fix it - fear I'll break more than I will fix.

NiklasHansen commented 12 years ago

This is caused by database changes from Ulrik. But he haven't yet pushed the updated scripts and code. This has been going on since wednesday, so it should be fixed ASAP, Ulrik!

ulrikdamm commented 12 years ago

Haven't yet gotten all the tests to pass locally, I'll look at is as soon as I can.

On Apr 27, 2012, at 3:50 PM, Niklas Hansen wrote:

This is caused by database changes from Ulrik. But he haven't yet pushed the updated scripts and code. This has been going on since wednesday, so it should be fixed ASAP, Ulrik!


Reply to this email directly or view it on GitHub: https://github.com/itu-bswu/RentIt/issues/6#issuecomment-5381765

esfdk commented 12 years ago

The tests that do not fail are the ones that do not inherit from Datatest (even though they should???).

NiklasHansen commented 12 years ago

Can you provide a list of which test classes that don't inherit from DataTest, so Ulrik can include it in his commit?

esfdk commented 12 years ago

LogoutScenarioTest.cs LoginScenarioTest.cs RentalHistoryScenarioTest.cs BrowseNewestScenarioTest.cs GenreScenarioTest.cs MostDownloadedScenario.cs are the ones I see

NiklasHansen commented 12 years ago

These were fixed when Ulrik merged his Genre branch with develop and pushed it.