Skip to content

Commit 502ab58

Browse files
devonfw#1024: added comments
1 parent 3741c02 commit 502ab58

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

url-updater/src/test/java/com/devonfw/tools/ide/url/tool/aws/AwsGithubUrlUpdaterTest.java

+3-1
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ public class AwsGithubUrlUpdaterTest extends AbstractUrlUpdaterTest {
4040
@Test
4141
public void testAwsGithubUrlUpdater(@TempDir Path tempDir, WireMockRuntimeInfo wmRuntimeInfo) throws IOException {
4242

43+
// arrange
4344
stubFor(get(urlMatching("/repos/.*")).willReturn(aResponse().withStatus(200)
4445
.withBody(Files.readAllBytes(Path.of(TEST_DATA_ROOT).resolve("github-tags.json")))));
4546

@@ -48,9 +49,10 @@ public void testAwsGithubUrlUpdater(@TempDir Path tempDir, WireMockRuntimeInfo w
4849
UrlRepository urlRepository = UrlRepository.load(tempDir);
4950
AwsGithubUrlUpdaterMock updater = new AwsGithubUrlUpdaterMock(wmRuntimeInfo);
5051

51-
// when
52+
// act
5253
updater.update(urlRepository);
5354

55+
// assert
5456
assertThat(tempDir.resolve("aws").resolve("aws").resolve("2.7.22").resolve("status.json")).exists();
5557

5658
}

0 commit comments

Comments
 (0)