Fix a typo in the code of Testing guide.

Replace the word «Accepts» by «Accept» in the example of custom request headers.
Merge pull request #12431 from GRoguelon/master

Fix a typo in the code of Testing guide. [ci skip]