I have deleted unnecessary indexed content, would this affect my Google Ranking?

Hi,

I have deleted unnecessary (test page) indexed content (two pages in total) I need to know whether this would affect my Google Ranking?

Thanks!

It shouldn’t have any ill-effect on your ranking, but you might want to set up a 301 redirect for those pages, so anybody who does try to follow a link to them will end up somewhere appropriate, rather than just receiving a 404 not found error.

No there will be no effect on you PR but dnt deleted that contant who liked by your Clients

There is no bad in removing unnecessary pages but if you don’t loose your old traffic than also do 301 permanent redirection for that pages so that you will don’t gonna loose you old traffic.