mirror of
https://github.com/google/nomulus.git
synced 2025-06-02 02:28:40 +02:00
Migrate from is(Not)SameAs to is(Not)SameInstanceAs.
They behave identically, and the old names are being removed. Open-source note: The new methods are available in Truth as of version 0.44. END_PUBLIC More information: [] Tested: TAP --sample ran all affected tests and none failed [] ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=246550001
This commit is contained in:
parent
e6e6303b9e
commit
7cb6d23884
4 changed files with 11 additions and 10 deletions
|
@ -148,7 +148,7 @@ public class RdeReportActionTest {
|
|||
assertThat(response.getPayload()).isEqualTo("OK test 2006-06-06T00:00:00.000Z\n");
|
||||
|
||||
// Verify the HTTP request was correct.
|
||||
assertThat(request.getValue().getMethod()).isSameAs(PUT);
|
||||
assertThat(request.getValue().getMethod()).isSameInstanceAs(PUT);
|
||||
assertThat(request.getValue().getURL().getProtocol()).isEqualTo("https");
|
||||
assertThat(request.getValue().getURL().getPath()).endsWith("/test/20101017001");
|
||||
Map<String, String> headers = mapifyHeaders(request.getValue().getHeaders());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue