Skip to content

Commit

Permalink
Fix [MyGet] version example and test (#6940)
Browse files Browse the repository at this point in the history
  • Loading branch information
PyvesB authored Aug 24, 2021
1 parent 6919b0a commit 1aea78a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions services/myget/myget.service.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ class MyGetVersionService extends Version {
title: 'MyGet tenant',
pattern: ':tenant.myget/:feed/v/:packageName',
namedParams: {
tenant: 'cefsharp',
feed: 'cefsharp',
packageName: 'cef.sdk',
tenant: 'tizen',
feed: 'dotnet',
packageName: 'Tizen.NET',
},
staticPreview: this.render({ version: '91.1.1' }),
staticPreview: this.render({ version: '9.0.0.16564' }),
},
]
}
Expand All @@ -48,7 +48,7 @@ class MyGetDownloadService extends Downloads {
namedParams: {
tenant: 'cefsharp',
feed: 'cefsharp',
packageName: 'CefSharp',
packageName: 'CefSharp.Common',
},
staticPreview: this.render({ downloads: 9748 }),
},
Expand Down
4 changes: 2 additions & 2 deletions services/myget/myget.tester.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,9 @@ t.create('version (valid)')
})

t.create('version (tenant)')
.get('/cefsharp.myget/cefsharp/v/cef.sdk.json')
.get('/tizen.myget/dotnet/v/Tizen.NET.json')
.expectBadge({
label: 'cefsharp',
label: 'dotnet',
message: isVPlusDottedVersionNClausesWithOptionalSuffix,
})

Expand Down

0 comments on commit 1aea78a

Please sign in to comment.