Is it necessary to have a negative COVID-19 test result once infected?

Is it necessary to have a negative COVID-19 test result once infected?

This video explains if it is necessary to have a negative COVID-19 test result once infected to prove that you have recovered from the virus.

Source: Is it necessary to have a COVID-19 test result once infected?