Skip to content

Commit c20031d

Browse files
committed
Minor update to text output
1 parent e5d81e4 commit c20031d

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/Commands/Hmac.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ public function reEncrypt(): void
184184
100,
185185
static function ($identity) use ($uIdModelSub, $encrypter, $that): void {
186186
if ($encrypter->isEncryptedWithCurrentKey($identity->secret2)) {
187-
$that->write('id: ' . $identity->id . ', not re-encrypted, skipped.');
187+
$that->write('id: ' . $identity->id . ', already encrypted with current key, skipped.');
188188

189189
return;
190190
}

tests/Commands/HmacTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ public function testReEncrypt(): void
107107
// verify that only 1 key needed to be re-encrypted
108108
$this->assertCount(2, $results);
109109
$this->assertSame('id: 1, Re-encrypted.', $results[0]);
110-
$this->assertSame('id: 2, not re-encrypted, skipped.', $results[1]);
110+
$this->assertSame('id: 2, already encrypted with current key, skipped.', $results[1]);
111111

112112
$encrypter = new HmacEncrypter();
113113

0 commit comments

Comments
 (0)