|
|
@ -13,15 +13,11 @@ describe("git-config", async () => {
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
it("can run apply allow_username_change and allow_email_change disabled", async () => {
|
|
|
|
it("can run apply allow_username_change and allow_email_change disabled", async () => {
|
|
|
|
const state = await runTerraformApply(
|
|
|
|
const state = await runTerraformApply(import.meta.dir, {
|
|
|
|
import.meta.dir,
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
agent_id: "foo",
|
|
|
|
agent_id: "foo",
|
|
|
|
allow_username_change: false,
|
|
|
|
allow_username_change: "false",
|
|
|
|
allow_email_change: false,
|
|
|
|
allow_email_change: "false",
|
|
|
|
},
|
|
|
|
});
|
|
|
|
{},
|
|
|
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const resources = state.resources;
|
|
|
|
const resources = state.resources;
|
|
|
|
expect(resources).toHaveLength(3);
|
|
|
|
expect(resources).toHaveLength(3);
|
|
|
|