Skip to content

Commit 31eb1ec

Browse files
test(cli): use a branch-independent descriptor in the warning test
1 parent 2ae6a2f commit 31eb1ec

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

packages/cli/tests/command-runner.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,14 +89,14 @@ afterEach(() => {
8989

9090
describe("command runner success output", () => {
9191
it("renders success warnings in human output", async () => {
92-
const { runtime, stderr } = await createRuntime(["project", "remove"]);
92+
const { runtime, stderr } = await createRuntime(["project", "show"]);
9393

9494
await runCommand(
9595
runtime,
96-
"project.remove",
96+
"project.show",
9797
{},
9898
async () => ({
99-
command: "project.remove",
99+
command: "project.show",
100100
result: { ok: true },
101101
warnings: [
102102
"The local pin .prisma/local.json points at the removed project but could not be deleted.",

0 commit comments

Comments
 (0)