Skip to content

Commit 7724747

Browse files
committed
remove name from packagist test since it is not in the raw data
1 parent c967a22 commit 7724747

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/unit/providers/fetch/packagistFetchTests.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,11 +110,11 @@ describe('packagistFetch', () => {
110110

111111
expect(result).to.not.be.null
112112
expect(result.manifest).to.exist
113-
expect(result.manifest.name).to.equal('symfony/polyfill-mbstring')
114113
expect(result.manifest.version).to.equal('v1.11.0')
115114
expect(result.manifest.dist.url).to.include('zipball/fe5e94c604826c35a32fa832f35bd036b6799609')
116115
expect(result.releaseDate).to.equal('2019-02-06T07:57:58+00:00')
117116
expect(result.packages).to.be.undefined // Should be deleted
117+
// Note: v1.11.0 entry in p2 format doesn't include name field, only version/dist/source/time
118118
})
119119

120120
it('should handle version without v prefix in spec but find v prefix in data', async () => {

0 commit comments

Comments
 (0)