hi, first i would like to say that the tutorials are excellent, thank you very much for that, i really appreciate the effort.
about lesson 12 ,in testcheckout method, i saw there you called setup() to create the objects, but this call is also made before , in the the method testaddbook above, so i think it's called twice when you run the test.
doesn't it make an error to try to create same objects twice ? and if it doesn't, isn't it unnecesary to call setup() again?
thanks again.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
hi, first i would like to say that the tutorials are excellent, thank you very much for that, i really appreciate the effort.
about lesson 12 ,in testcheckout method, i saw there you called setup() to create the objects, but this call is also made before , in the the method testaddbook above, so i think it's called twice when you run the test.
doesn't it make an error to try to create same objects twice ? and if it doesn't, isn't it unnecesary to call setup() again?
thanks again.