feat: ds
This commit is contained in:
@@ -238,13 +238,13 @@ class KeystoreAdminTest extends TestCase
|
||||
],
|
||||
]);
|
||||
|
||||
$this->actingAs($admin, 'admin')
|
||||
$resp = $this->actingAs($admin, 'admin')
|
||||
->postJson(route('admin.keystores.decrypt', $keychain))
|
||||
->assertOk()
|
||||
->assertJsonPath('code', 0)
|
||||
->assertJsonPath('data.added', 0)
|
||||
->assertJsonPath('data.utc', 0)
|
||||
->assertJsonPath('data.passwords', 1)
|
||||
->assertJsonPath('msg', '有钥匙串密码,但没有沙盒 UTC 文件(Documents/keystore/UTC--…)。Trust 不能只靠钥匙串解密');
|
||||
$this->assertGreaterThan(0, $resp->json('data.passwords'));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user