Skip to content

Commit

Permalink
chore: stylecheck
Browse files Browse the repository at this point in the history
  • Loading branch information
Neehaarika committed Jun 7, 2024
1 parent 02ed79b commit 83a2e06
Showing 1 changed file with 10 additions and 9 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
package com.mx.path.model.mdx.web.controller

import static org.mockito.ArgumentMatchers.any
import static org.mockito.Mockito.doReturn
import static org.mockito.Mockito.spy

import com.mx.path.gateway.accessor.AccessorResponse
import com.mx.path.gateway.api.Gateway
import com.mx.path.gateway.api.account.AccountGateway
Expand All @@ -8,12 +12,10 @@ import com.mx.path.model.mdx.model.MdxList
import com.mx.path.model.mdx.model.account.AccountAddress
import com.mx.path.model.mdx.model.challenges.Challenge
import com.mx.path.testing.WithMockery

import org.springframework.http.HttpStatus
import spock.lang.Specification

import static org.mockito.ArgumentMatchers.any
import static org.mockito.Mockito.doReturn
import static org.mockito.Mockito.spy
import spock.lang.Specification

class AccountAddressControllerTest extends Specification implements WithMockery {
AccountAddressController subject
Expand All @@ -24,10 +26,10 @@ class AccountAddressControllerTest extends Specification implements WithMockery
subject = new AccountAddressController()
accountAddressGateway = spy(AddressGateway.builder().build())
gateway = Gateway.builder()
.accounts(AccountGateway.builder()
.addresses(accountAddressGateway)
.build())
.build()
.accounts(AccountGateway.builder()
.addresses(accountAddressGateway)
.build())
.build()

BaseController.setGateway(gateway)
}
Expand Down Expand Up @@ -112,5 +114,4 @@ class AccountAddressControllerTest extends Specification implements WithMockery
response.body.wrapped
response.statusCode == HttpStatus.ACCEPTED
}

}

0 comments on commit 83a2e06

Please sign in to comment.