Skip to content

Commit

Permalink
Merge branch 'UML-3394-combined-lpa-manager' of github.com:ministryof…
Browse files Browse the repository at this point in the history
…justice/opg-use-an-lpa into UML-3394-combined-lpa-manager
  • Loading branch information
allenannom committed Dec 19, 2024
2 parents 349dae6 + 06ce6f9 commit 7ab9dc4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 43 deletions.
41 changes: 0 additions & 41 deletions service-api/app/test/AppTest/Service/Lpa/FindActorInLpaTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -412,24 +412,6 @@ private static function activeAttorneyFixture(): SiriusLpaAttorney
);
}

public static function nullDOBAttorneyFixtureOld(): SiriusPerson
{
return new SiriusPerson(
[
'uId' => '7000000055555',
'dob' => null,
'firstname' => 'Testering',
'surname' => 'T’esting',
'addresses' => [
[
'postcode' => 'Ab1 2Cd',
],
],
'systemStatus' => true,
]
);
}

public static function nullDOBAttorneyFixture(): SiriusLpaAttorney
{
return new SiriusLpaAttorney(
Expand Down Expand Up @@ -511,27 +493,4 @@ public static function nullDOBAttorneyFixtureOld(): SiriusPerson
new Logger('test-output'),
);
}

public static function nullDOBAttorneyFixture(): SiriusLpaAttorney
{
return new SiriusLpaAttorney(
addressLine1: null,
addressLine2: null,
addressLine3: null,
country: null,
county: null,
dob: null,
email: null,
firstname: 'Testering',
id: '7',
middlenames: null,
otherNames: null,
postcode: 'PY1 3Kd',
surname: 'Person',
systemStatus: null,
town: null,
type: null,
uId: '700000001111'
);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,13 @@ public function setUp(): void
#[Test]
public function returns_active_if_trustCorporation_is_active(): void
{

$trustCorporation = new SiriusPerson(
[
'uId' => 7,
'companyName' => 'ABC Ltd',
'systemStatus' => true,
]
],
$this->prophesize(LoggerInterface::class)->reveal(),
);

$status = new GetTrustCorporationStatus(
Expand Down

0 comments on commit 7ab9dc4

Please sign in to comment.