How come I get a “must have accepted TOS” error fo

2019-09-08 11:09发布

问题:

I'm writing integration tests and programatically creating and registering some test users for my app in my test by using the graph API to create the users with the installed flag set to true.

This should create a user that is an app user, therefore I assume the test user has agreed to the TOS already.

Is I switch to the test users then the app is listed in the users history in the app center.

However when I try and send an app request to this user from another test user then I get the TOS error.