@@ -17,8 +17,8 @@ describe('CustomProperties', () => {
1717 paginate : jest . fn ( ) ,
1818 rest : {
1919 repos : {
20- getCustomPropertiesValues : jest . fn ( ) ,
21- createOrUpdateCustomPropertiesValues : jest . fn ( )
20+ customPropertiesForReposGetRepositoryValues : jest . fn ( ) ,
21+ customPropertiesForReposCreateOrUpdateRepositoryValues : jest . fn ( )
2222 }
2323 }
2424 }
@@ -49,7 +49,7 @@ describe('CustomProperties', () => {
4949 const result = await plugin . find ( )
5050
5151 expect ( github . paginate ) . toHaveBeenCalledWith (
52- github . rest . repos . getCustomPropertiesValues ,
52+ github . rest . repos . customPropertiesForReposGetRepositoryValues ,
5353 {
5454 owner,
5555 repo,
@@ -100,14 +100,14 @@ describe('CustomProperties', () => {
100100
101101 return plugin . sync ( ) . then ( ( ) => {
102102 expect ( github . paginate ) . toHaveBeenCalledWith (
103- github . rest . repos . getCustomPropertiesValues ,
103+ github . rest . repos . customPropertiesForReposGetRepositoryValues ,
104104 {
105105 owner,
106106 repo,
107107 per_page : 100
108108 }
109109 )
110- expect ( github . rest . repos . createOrUpdateCustomPropertiesValues ) . not . toHaveBeenCalledWith ( {
110+ expect ( github . rest . repos . customPropertiesForReposCreateOrUpdateRepositoryValues ) . not . toHaveBeenCalledWith ( {
111111 owner,
112112 repo,
113113 properties : [
@@ -117,7 +117,7 @@ describe('CustomProperties', () => {
117117 }
118118 ]
119119 } )
120- expect ( github . rest . repos . createOrUpdateCustomPropertiesValues ) . toHaveBeenCalledWith ( {
120+ expect ( github . rest . repos . customPropertiesForReposCreateOrUpdateRepositoryValues ) . toHaveBeenCalledWith ( {
121121 owner,
122122 repo,
123123 properties : [
@@ -127,7 +127,7 @@ describe('CustomProperties', () => {
127127 }
128128 ]
129129 } )
130- expect ( github . rest . repos . createOrUpdateCustomPropertiesValues ) . toHaveBeenCalledWith ( {
130+ expect ( github . rest . repos . customPropertiesForReposCreateOrUpdateRepositoryValues ) . toHaveBeenCalledWith ( {
131131 owner,
132132 repo,
133133 properties : [
@@ -137,7 +137,7 @@ describe('CustomProperties', () => {
137137 }
138138 ]
139139 } )
140- expect ( github . rest . repos . createOrUpdateCustomPropertiesValues ) . toHaveBeenCalledWith ( {
140+ expect ( github . rest . repos . customPropertiesForReposCreateOrUpdateRepositoryValues ) . toHaveBeenCalledWith ( {
141141 owner,
142142 repo,
143143 properties : [
@@ -152,7 +152,7 @@ describe('CustomProperties', () => {
152152 // const plugin = configure([{ name: 'Test', value: 'test' }])
153153 // await plugin.update({ name: 'test', value: 'old' }, { name: 'test', value: 'test' })
154154
155- // expect(github.rest.repos.createOrUpdateCustomPropertiesValues ).toHaveBeenCalledWith({
155+ // expect(github.rest.repos.customPropertiesForReposCreateOrUpdateRepositoryValues ).toHaveBeenCalledWith({
156156 // owner,
157157 // repo,
158158 // properties: [
0 commit comments