mirror of
https://github.com/openclaw/openclaw.git
synced 2026-03-12 07:20:45 +00:00
test(perf): simplify ios team-id fixtures
This commit is contained in:
@@ -140,22 +140,7 @@ printf 'BBBBB22222\\t0\\tBeta Team\\r\\n'`,
|
|||||||
});
|
});
|
||||||
|
|
||||||
it("prints actionable guidance when Xcode account exists but no Team ID is resolvable", async () => {
|
it("prints actionable guidance when Xcode account exists but no Team ID is resolvable", async () => {
|
||||||
const { homeDir, binDir } = await createHomeDir();
|
const { homeDir } = await createHomeDir();
|
||||||
await writeExecutable(
|
|
||||||
path.join(binDir, "defaults"),
|
|
||||||
`#!/usr/bin/env bash
|
|
||||||
if [[ "$3" == "DVTDeveloperAccountManagerAppleIDLists" ]]; then
|
|
||||||
echo '(identifier = "dev@example.com";)'
|
|
||||||
exit 0
|
|
||||||
fi
|
|
||||||
echo "Domain/default pair of (com.apple.dt.Xcode, $3) does not exist" >&2
|
|
||||||
exit 1`,
|
|
||||||
);
|
|
||||||
await writeExecutable(
|
|
||||||
path.join(binDir, "security"),
|
|
||||||
`#!/usr/bin/env bash
|
|
||||||
exit 1`,
|
|
||||||
);
|
|
||||||
|
|
||||||
const result = runScript(homeDir);
|
const result = runScript(homeDir);
|
||||||
expect(result.ok).toBe(false);
|
expect(result.ok).toBe(false);
|
||||||
|
|||||||
Reference in New Issue
Block a user