Skip to content

Commit

Permalink
Cleanup after #14017 (#14091)
Browse files Browse the repository at this point in the history
  • Loading branch information
rob006 authored and cebe committed May 1, 2017
1 parent 533da62 commit 33cff4b
Show file tree
Hide file tree
Showing 6 changed files with 32 additions and 41 deletions.
10 changes: 1 addition & 9 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -107,14 +107,6 @@
"extra": {
"branch-alias": {
"dev-master": "2.0.x-dev"
},
"asset-installer-paths": {
"npm-asset-library": "vendor/npm",
"bower-asset-library": "vendor/bower"
},
"asset-vcs-driver-options": {
"github-no-api": true
},
"asset-pattern-skip-version": "(-build|-patch)"
}
}
}
51 changes: 25 additions & 26 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion tests/js/tests/yii.captcha.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ var vm = require('vm');

describe('yii.captcha', function () {
var yiiCaptchaPath = 'framework/assets/yii.captcha.js';
var jQueryPath = 'vendor/bower/jquery/dist/jquery.js';
var jQueryPath = 'vendor/bower-asset/jquery/dist/jquery.js';
var $;
var $captcha;
var settings = {
Expand Down
2 changes: 1 addition & 1 deletion tests/js/tests/yii.gridView.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ var vm = require('vm');
describe('yii.gridView', function () {
var yiiGridViewPath = 'framework/assets/yii.gridView.js';
var yiiPath = 'framework/assets/yii.js';
var jQueryPath = 'vendor/bower/jquery/dist/jquery.js';
var jQueryPath = 'vendor/bower-asset/jquery/dist/jquery.js';
var $;
var $gridView;
var settings = {
Expand Down
4 changes: 2 additions & 2 deletions tests/js/tests/yii.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ var StringUtils = {

describe('yii', function () {
var yiiPath = 'framework/assets/yii.js';
var jQueryPath = 'vendor/bower/jquery/dist/jquery.js';
var pjaxPath = 'vendor/bower/yii2-pjax/jquery.pjax.js';
var jQueryPath = 'vendor/bower-asset/jquery/dist/jquery.js';
var pjaxPath = 'vendor/bower-asset/yii2-pjax/jquery.pjax.js';
var sandbox;
var $;
var yii;
Expand Down
4 changes: 2 additions & 2 deletions tests/js/tests/yii.validation.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ var StringUtils = {
};

var jsdom = require('mocha-jsdom');
var punycode = require('../../../vendor/bower/punycode/punycode');
var punycode = require('../../../vendor/bower-asset/punycode/punycode');

var fs = require('fs');
var vm = require('vm');
Expand Down Expand Up @@ -75,7 +75,7 @@ describe('yii.validation', function () {
yii = sandbox.yii;
}

jsdom({src: fs.readFileSync('vendor/bower/jquery/dist/jquery.js', 'utf-8')});
jsdom({src: fs.readFileSync('vendor/bower-asset/jquery/dist/jquery.js', 'utf-8')});

before(function () {
$ = window.$;
Expand Down

0 comments on commit 33cff4b

Please sign in to comment.