<p dir="auto">This converts some tests which are testing OAuth 1 tokens and which don't have an OAuth 2 equivalent to use OAuth 2 instead.</p>
<hr>
<h4>You can view, comment on, or merge this pull request online at:</h4>
<p> <a href='https://github.com/openstreetmap/openstreetmap-website/pull/5020'>https://github.com/openstreetmap/openstreetmap-website/pull/5020</a></p>
<h4>Commit Summary</h4>
<ul>
<li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/5020/commits/1a7d68ccbceb07e2da90fc0efa61ef448f5383fe" class="commit-link">1a7d68c</a> Convert tests using OAuth 1 tokens to use OAuth 2 tokens</li>
</ul>
<h4 style="display: inline-block">File Changes </h4> <p style="display: inline-block">(<a href="https://github.com/openstreetmap/openstreetmap-website/pull/5020/files">4 files</a>)</p>
<ul>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/5020/files#diff-86f561066896ab4c4f2fd512c55cc748080ab2e25de3690f85799488afab194f">test/abilities/api_capability_test.rb</a>
(30)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/5020/files#diff-d9b2ae2e2b75786d4664345e608b1dd8e34b7854f4714bdec7afeb29b3710159">test/controllers/api/changeset_comments_controller_test.rb</a>
(6)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/5020/files#diff-8423ac0d20c682130833ce91a974a158c585f45101d176ab38107652b84762f5">test/controllers/api/user_preferences_controller_test.rb</a>
(8)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/5020/files#diff-e5e1e11dbef11fb955376608e3054f5d459844110ececfe525686092831aea1c">test/factories/oauth_access_token.rb</a>
(2)
</li>
</ul>
<h4>Patch Links:</h4>
<ul>
<li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/5020.patch'>https://github.com/openstreetmap/openstreetmap-website/pull/5020.patch</a></li>
<li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/5020.diff'>https://github.com/openstreetmap/openstreetmap-website/pull/5020.diff</a></li>
</ul>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5020">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLOABSQ4YYXMDG4P4BDZOEOGPAVCNFSM6AAAAABLO3GM3WVHI2DSMVQWIX3LMV43ASLTON2WKOZSGQZTANBQGYZTQMQ">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLMQQCYXVAUAN2YXYNLZOEOGPA5CNFSM6AAAAABLO3GM3WWGG33NNVSW45C7OR4XAZNFJFZXG5LFVJRW63LNMVXHIX3JMTHJBXIO5Y.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><openstreetmap/openstreetmap-website/pull/5020</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/pull/5020",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/5020",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>