You are correct! A solution at pH of 12 is quite basic and should react with all of the acidic sites. Both the protonated amine and the phenol are acidic and should react at a pH of 12.