+ Start a Discussion

Advance apex specialist step 5

I modified OrderTests  and Product2Tests to cover OrderTrigger,OrderTrigger. Coverage is good but Whin I clicked on check challenge I am getting this error '
Ensure that you assert the values in the verifyQuantityRemaining method.' not sure why there is no such anywhere in the components.
Best Answer chosen by Dilip_V
I missed an assert statement in the 'VerifyQuantityOrdered' method. 
System.assertEquals(updatedProduct.Quantity_Ordered__c, sumQuantity);