Skip to content

Commit

Permalink
fix role name
Browse files Browse the repository at this point in the history
  • Loading branch information
matthme committed Nov 28, 2024
1 parent 8922b7a commit 6542bec
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions ts/test/local/conductor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ test("Local Conductor - install app with roles settings", async (t) => {
},
{
rolesSettings: {
foo: {
[ROLE_NAME]: {
type: "Provisioned",
membrane_proof: new Uint8Array(6),
modifiers: {
Expand All @@ -366,7 +366,7 @@ test("Local Conductor - install app with roles settings", async (t) => {

const appInfo = await appWs.appInfo();
const provisionedCell: ProvisionedCell =
appInfo.cell_info["foo"][0][CellType.Provisioned];
appInfo.cell_info[ROLE_NAME][0][CellType.Provisioned];
t.equal(provisionedCell.dna_modifiers.network_seed, "hello");
t.deepEqual(
yaml.load(decode(provisionedCell.dna_modifiers.properties) as string),
Expand Down
4 changes: 2 additions & 2 deletions ts/test/trycp/conductor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ test("TryCP Conductor - install app with roles settings", async (t) => {
},
{
rolesSettings: {
foo: {
[ROLE_NAME]: {
type: "Provisioned",
membrane_proof: new Uint8Array(6),
modifiers: {
Expand All @@ -350,7 +350,7 @@ test("TryCP Conductor - install app with roles settings", async (t) => {
const appInfo = await appWs.appInfo();
if (!appInfo) throw new Error("AppInfo undefined.");
const provisionedCell: ProvisionedCell =
appInfo.cell_info["foo"][0][CellType.Provisioned];
appInfo.cell_info[ROLE_NAME][0][CellType.Provisioned];
t.equal(provisionedCell.dna_modifiers.network_seed, "hello");
t.deepEqual(
yaml.load(decode(provisionedCell.dna_modifiers.properties) as string),
Expand Down

0 comments on commit 6542bec

Please sign in to comment.