diff --git a/tests/Consent/ConsentGrantTest.php b/tests/Consent/ConsentGrantTest.php index 746d1eb..b9a9715 100644 --- a/tests/Consent/ConsentGrantTest.php +++ b/tests/Consent/ConsentGrantTest.php @@ -43,7 +43,7 @@ public function testAnotherSessionIsNotCovered(): void { $grant = new ConsentGrant( operation: new OperationId('config.set'), - principal: 'cli:rod@cm4070', + principal: 'cli:operator@workstation', session: 'ses-A', grantedAt: new \DateTimeImmutable('2026-08-13 10:00:00'), provenance: 'session.question_answered', @@ -58,7 +58,7 @@ public function testDifferentArgumentsAreNotCovered(): void { $grant = new ConsentGrant( operation: new OperationId('config.set'), - principal: 'cli:rod@cm4070', + principal: 'cli:operator@workstation', session: 'ses-A', grantedAt: new \DateTimeImmutable('2026-08-13 10:00:00'), provenance: 'session.question_answered', @@ -104,7 +104,7 @@ private function grantDe(string $operacion): ConsentGrant { return new ConsentGrant( operation: new OperationId($operacion), - principal: 'cli:rod@cm4070', + principal: 'cli:operator@workstation', session: 'ses-A', grantedAt: new \DateTimeImmutable('2026-08-13 10:00:00'), provenance: 'session.question_answered', diff --git a/tests/Consent/IntentGrantTest.php b/tests/Consent/IntentGrantTest.php index ad58cea..7346bc2 100644 --- a/tests/Consent/IntentGrantTest.php +++ b/tests/Consent/IntentGrantTest.php @@ -37,7 +37,7 @@ public function testAnUngradedGrantCoversButDoesNotAdmit(): void { $grant = new ConsentGrant( operation: new OperationId('capabilities.enable'), - principal: 'cli:rod@cm4070', + principal: 'cli:operator@workstation', session: 'ses-A', grantedAt: new \DateTimeImmutable(self::AT), provenance: 'session.question_answered', @@ -165,7 +165,7 @@ public function testAProofBackedGrantMatchesAcrossSpellings(): void */ public function testFromVerifiedIntentRefusesAnUnverifiedAdmission(): void { - $sinPrueba = VerifiedPrincipal::fromTerminal('rod', 'cm4070'); + $sinPrueba = VerifiedPrincipal::fromTerminal('operator', 'workstation'); $this->expectException(\InvalidArgumentException::class); @@ -219,7 +219,7 @@ public function testAdmissionIsAdditiveForAnOrdinaryGrant(): void { $grant = new ConsentGrant( operation: new OperationId('config.set'), - principal: 'cli:rod@cm4070', + principal: 'cli:operator@workstation', session: 'ses-A', grantedAt: new \DateTimeImmutable(self::AT), provenance: 'session.question_answered',