To upset the apple cart means to mess up or ruin something, and in this context she knows not to do that.
Consider the statement "She would know not to muck up or ruin something.". Is the statement "She would know not to upset the apple cart." false? Yes/no/unknown