Re: Could not cast value of type 'Medication.Nurse' to 'MedicationTests.Nurse'

2016-08-22 Thread Devarshi Kulshreshtha
Found answer over here: https://forums.developer.apple.com/thread/11342 On Mon, Aug 22, 2016 at 2:41 PM, Devarshi Kulshreshtha < devarshi.bluec...@gmail.com> wrote: > I am making an app with name - "Medication", in which I am trying to > implement unit test cases for certain operations on my

Could not cast value of type 'Medication.Nurse' to 'MedicationTests.Nurse'

2016-08-22 Thread Devarshi Kulshreshtha
I am making an app with name - "Medication", in which I am trying to implement unit test cases for certain operations on my managed objects. Here is my entity: Entity name: Nurse attribute 1: email attribute 2: password relationship: patient In model editor by default it is