Skip to content

Commit

Permalink
fix(tests): Use correct test database
Browse files Browse the repository at this point in the history
  • Loading branch information
davideast committed Dec 23, 2016
1 parent f425523 commit ddb7258
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions tests/initialize.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ try {
// TODO: stop hard-coding this
var config = {
apiKey: "AIzaSyCcB9Ozrh1M-WzrwrSMB6t5y1flL8yXYmY",
authDomain: "angularfire-dae2e.firebaseapp.com",
databaseURL: "https://angularfire-dae2e.firebaseio.com",
storageBucket: "angularfire-dae2e.appspot.com"
authDomain: "oss-test.firebaseapp.com",
databaseURL: "https://oss-test.firebaseio.com",
storageBucket: "oss-test.appspot.com"
};
firebase.initializeApp(config);
} catch (err) {
Expand Down
2 changes: 1 addition & 1 deletion tests/protractor/upload/upload.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ describe('Upload App', function () {
.then(function () {
return el.getText();
}).then(function (text) {
var result = "https://firebasestorage.googleapis.com/v0/b/angularfire-dae2e.appspot.com/o/user%2F1.png";
var result = "https://firebasestorage.googleapis.com/v0/b/oss-test.appspot.com/o/user%2F1.png";
expect(text.slice(0, result.length)).toEqual(result);
done();
});
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/FirebaseStorage.spec.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use strict';
describe('$firebaseStorage', function () {
var $firebaseStorage;
var URL = 'https://angularfire-dae2e.firebaseio.com';
var URL = 'https://oss-test.firebaseio.com';

beforeEach(function () {
module('firebase.storage');
Expand Down

0 comments on commit ddb7258

Please sign in to comment.