@@ -28,14 +28,14 @@ vi.mock('components/AddOn/support/services/Plugin.helper', () => ({
28
28
default : vi . fn ( ) . mockImplementation ( ( ) => ( {
29
29
fetchStore : vi . fn ( ) . mockResolvedValue ( [
30
30
{
31
- _id : '1' ,
31
+ id : '1' ,
32
32
pluginName : 'Plugin 1' ,
33
33
pluginDesc : 'Description 1' ,
34
34
pluginCreatedBy : 'User 1' ,
35
35
pluginInstallStatus : true ,
36
36
} ,
37
37
{
38
- _id : '2' ,
38
+ id : '2' ,
39
39
pluginName : 'Plugin 2' ,
40
40
pluginDesc : 'Description 2' ,
41
41
pluginCreatedBy : 'User 2' ,
@@ -45,14 +45,14 @@ vi.mock('components/AddOn/support/services/Plugin.helper', () => ({
45
45
] ) ,
46
46
fetchInstalled : vi . fn ( ) . mockResolvedValue ( [
47
47
{
48
- _id : '1' ,
48
+ id : '1' ,
49
49
pluginName : 'Installed Plugin 1' ,
50
50
pluginDesc : 'Installed Description 1' ,
51
51
pluginCreatedBy : 'User 3' ,
52
52
pluginInstallStatus : true ,
53
53
} ,
54
54
{
55
- _id : '3' ,
55
+ id : '3' ,
56
56
pluginName : 'Installed Plugin 3' ,
57
57
pluginDesc : 'Installed Description 3' ,
58
58
pluginCreatedBy : 'User 4' ,
@@ -194,7 +194,7 @@ describe('Testing AddOnStore Component', () => {
194
194
data : {
195
195
getPlugins : [
196
196
{
197
- _id : '1' ,
197
+ id : '1' ,
198
198
pluginName : 'Plugin 1' ,
199
199
pluginDesc : 'Desc 1' ,
200
200
pluginCreatedBy : 'User 1' ,
@@ -238,7 +238,7 @@ describe('Testing AddOnStore Component', () => {
238
238
data : {
239
239
getPlugins : [
240
240
{
241
- _id : '2' ,
241
+ id : '2' ,
242
242
pluginName : 'Plugin 2' ,
243
243
pluginDesc : 'Desc 2' ,
244
244
pluginCreatedBy : 'User 2' ,
@@ -286,7 +286,7 @@ describe('Testing AddOnStore Component', () => {
286
286
data : {
287
287
getPlugins : [
288
288
{
289
- _id : '1' ,
289
+ id : '1' ,
290
290
pluginName : 'Test Plugin' ,
291
291
pluginDesc : 'Description' ,
292
292
pluginCreatedBy : 'User' ,
@@ -353,7 +353,7 @@ describe('Testing AddOnStore Component', () => {
353
353
data : {
354
354
getPlugins : [
355
355
{
356
- _id : '1' ,
356
+ id : '1' ,
357
357
pluginName : 'Test Plugin 1' ,
358
358
pluginDesc : 'Description' ,
359
359
pluginCreatedBy : 'User1' ,
@@ -362,7 +362,7 @@ describe('Testing AddOnStore Component', () => {
362
362
enabled : true ,
363
363
} ,
364
364
{
365
- _id : '2' ,
365
+ id : '2' ,
366
366
pluginName : 'Test Plugin 2' ,
367
367
pluginDesc : 'Description' ,
368
368
pluginCreatedBy : 'User2' ,
0 commit comments