mirror of
https://gitee.com/dcren/initializr.git
synced 2026-02-25 21:22:58 +08:00
Upgrade to spring javaformat 0.0.38
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2012-2019 the original author or authors.
|
||||
* Copyright 2012-2023 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -51,7 +51,8 @@ class ClientApplicationTests {
|
||||
@Test
|
||||
void testCurrentMetadata() {
|
||||
RequestEntity<Void> request = RequestEntity.get(createUri("/"))
|
||||
.accept(MediaType.valueOf("application/vnd.initializr.v2.1+json")).build();
|
||||
.accept(MediaType.valueOf("application/vnd.initializr.v2.1+json"))
|
||||
.build();
|
||||
|
||||
ResponseEntity<String> response = this.restTemplate.exchange(request, String.class);
|
||||
assertThat(response.getStatusCode()).isEqualTo(HttpStatus.OK);
|
||||
|
||||
Reference in New Issue
Block a user