Skip to content

Commit 88dff49

Browse files
committed
Updating build tests to reflect changed package dest for Drupal 8.
1 parent 953f16e commit 88dff49

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/build.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ describe('grunt', function() {
202202
it('should place the build codebase in build/packages/package by default', function(done) {
203203
this.timeout(180000);
204204
exec('grunt package', function(error) {
205-
var indexPackageDest = (drupalCore === '8') ? 'build/packages/package/build/html/index.php' : 'build/packages/package/index.php';
205+
var indexPackageDest = (drupalCore === '8') ? 'build/packages/package/html/index.php' : 'build/packages/package/index.php';
206206
fs.exists(indexPackageDest, function(exists) {
207207
assert.ok(!error && exists);
208208
done();
@@ -213,7 +213,7 @@ describe('grunt', function() {
213213
it('should allow override of grunt package destination with --name', function(done) {
214214
this.timeout(180000);
215215
exec('grunt package --name=upstream', function(error) {
216-
var indexPackageDest = (drupalCore === '8') ? 'build/packages/upstream/build/html/index.php' : 'build/packages/upstream/index.php';
216+
var indexPackageDest = (drupalCore === '8') ? 'build/packages/upstream/html/index.php' : 'build/packages/upstream/index.php';
217217
fs.exists(indexPackageDest, function(exists) {
218218
assert.ok(!error && exists);
219219
done();

0 commit comments

Comments
 (0)