Paternity testing would force people to disclose to their kids if they had been adopted?
Whether or not the parents had a paternity test performed wouldn't have any bearing on it.
The same applies to other cases where parents aren't genetically related to their children (i.e., donor egg and/or sperm).
[1] https://www.theatlantic.com/family/archive/2019/07/adoption-...