@@ -50,9 +50,9 @@ describe("Storage Key Generation", () => {
5050 expect ( keys ) . toEqual ( {
5151 write : [ "OPTABLE_PASSPORT_" + encodeBase64 ( "example.com/node1" ) ] ,
5252 read : [
53+ "OPTABLE_PASSPORT_" + encodeBase64 ( "example.com/node1" ) ,
5354 "OPTABLE_PASSPORT_" + encodeBase64 ( "legacy.example.com" ) ,
5455 "OPTABLE_PASS_" + encodeBase64 ( "legacy.example.com/site1" ) ,
55- "OPTABLE_PASSPORT_" + encodeBase64 ( "example.com/node1" ) ,
5656 ] ,
5757 } ) ;
5858 } ) ;
@@ -63,9 +63,9 @@ describe("Storage Key Generation", () => {
6363 expect ( keys ) . toEqual ( {
6464 write : [ "OPTABLE_PASSPORT_" + encodeBase64 ( "example.com" ) ] ,
6565 read : [
66+ "OPTABLE_PASSPORT_" + encodeBase64 ( "example.com" ) ,
6667 "OPTABLE_PASSPORT_" + encodeBase64 ( "legacy.example.com" ) ,
6768 "OPTABLE_PASS_" + encodeBase64 ( "legacy.example.com/site1" ) ,
68- "OPTABLE_PASSPORT_" + encodeBase64 ( "example.com" ) ,
6969 ] ,
7070 } ) ;
7171 } ) ;
@@ -76,8 +76,8 @@ describe("Storage Key Generation", () => {
7676 expect ( keys ) . toEqual ( {
7777 write : [ "OPTABLE_PASSPORT_" + encodeBase64 ( "example.com/node1" ) ] ,
7878 read : [
79- "OPTABLE_PASS_" + encodeBase64 ( "example.com/site1" ) ,
8079 "OPTABLE_PASSPORT_" + encodeBase64 ( "example.com/node1" ) ,
80+ "OPTABLE_PASS_" + encodeBase64 ( "example.com/site1" ) ,
8181 ] ,
8282 } ) ;
8383 } ) ;
0 commit comments