@@ -121,7 +121,7 @@ describe("RatingService", () => {
121121 expect . assertions ( 1 ) ;
122122
123123 settingsService . mocks . getSettings . mockResolvedValue ( {
124- application : { allowRatingProjects : false } ,
124+ project : { allowRatingProjects : false } ,
125125 } as any ) ;
126126
127127 const rating = Object . assign ( new Rating ( ) , {
@@ -140,7 +140,7 @@ describe("RatingService", () => {
140140 expect . assertions ( 1 ) ;
141141
142142 settingsService . mocks . getSettings . mockResolvedValue ( {
143- application : { allowRatingProjects : true } ,
143+ project : { allowRatingProjects : true } ,
144144 } as any ) ;
145145
146146 const rating = Object . assign ( new Rating ( ) , {
@@ -159,7 +159,7 @@ describe("RatingService", () => {
159159 expect . assertions ( 1 ) ;
160160
161161 settingsService . mocks . getSettings . mockResolvedValue ( {
162- application : { allowRatingProjects : true } ,
162+ project : { allowRatingProjects : true } ,
163163 } as any ) ;
164164
165165 await projectRepo . update ( mockProject . id , { allowRating : false } ) ;
@@ -181,7 +181,7 @@ describe("RatingService", () => {
181181 expect . assertions ( 1 ) ;
182182
183183 settingsService . mocks . getSettings . mockResolvedValue ( {
184- application : { allowRatingProjects : true } ,
184+ project : { allowRatingProjects : true } ,
185185 } as any ) ;
186186
187187 const rating = Object . assign ( new Rating ( ) , {
@@ -200,7 +200,7 @@ describe("RatingService", () => {
200200 expect . assertions ( 2 ) ;
201201
202202 settingsService . mocks . getSettings . mockResolvedValue ( {
203- application : { allowRatingProjects : true } ,
203+ project : { allowRatingProjects : true } ,
204204 } as any ) ;
205205
206206 const rating = Object . assign ( new Rating ( ) , {
@@ -220,7 +220,7 @@ describe("RatingService", () => {
220220 expect . assertions ( 1 ) ;
221221
222222 settingsService . mocks . getSettings . mockResolvedValue ( {
223- application : { allowRatingProjects : true } ,
223+ project : { allowRatingProjects : true } ,
224224 } as any ) ;
225225
226226 const rating = Object . assign ( new Rating ( ) , {
0 commit comments