Skip to content

Commit

Permalink
Update testExtensionDownload.cfc
Browse files Browse the repository at this point in the history
  • Loading branch information
zspitzer committed Jun 26, 2024
1 parent ca796c1 commit 07c8d17
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/testExtensionDownload.cfc
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,16 @@ component extends="org.lucee.cfml.test.LuceeTestCase" labels="data-provider-inte
function run( testResults , testBox ) {
describe( "extensions need to be served directly for older lucee versions", function() {
it(title="check local extension cache works", body=function(){
var extentionCache = new services.extensionCache();
var extensionCache = new services.extensionCache();
var path =extensionCache.getExtensionLex( "https://ext.lucee.org/compress-extension-1.0.0.15.lex" );
systemOutput( path, true )
expect( fileExists( path ) ).toBeTrue();
});

it(title="check local extension cache works (from cache)", body=function(){
var extentionCache = new services.extensionCache();
var path = extensionCache.getExtensionLex( "https://ext.lucee.org/compress-extension-1.0.0.15.lex" );
systemOutput( path, true )
expect( fileExists( path ) ).toBeTrue();
});

Expand Down

0 comments on commit 07c8d17

Please sign in to comment.