"use strict";
// Angular is refusing to recognize the HawtioNav stuff
// when testing even though its being loaded
 beforeEach(module(function ($provide) {
  $provide.provider("HawtioNavBuilder", function() {
    function Mocked() {}
    this.create = function() {return this;};
    this.id = function() {return this;};
    this.title = function() {return this;};
    this.template = function() {return this;};
    this.isSelected = function() {return this;};
    this.href = function() {return this;};
    this.page = function() {return this;};
    this.subPath = function() {return this;};
    this.build = function() {return this;};
    this.join = function() {return "";};
    this.$get = function() {return new Mocked();};
  });
  
  $provide.factory("HawtioNav", function(){
    return {add: function() {}};
  });

  $provide.factory("HawtioExtension", function() {
    return {
      add: function() {}
    };
  });
  
}));

// Make sure a base location exists in the generated test html
 if (!$('head base').length) {
   $('head').append($('<base href="/">'));
 }

 angular.module('openshiftConsole').config(function(AuthServiceProvider) {
   AuthServiceProvider.UserStore('MemoryUserStore');
 });
 
 //load the module
beforeEach(module('openshiftConsole'));

"use strict";
 beforeEach(module(function ($provide) {
  $provide.factory("HawtioExtension", function() {
    return {
      add: function() {}
    };
  });

}));

// Make sure a base location exists in the generated test html
 if (!$('head base').length) {
   $('head').append($('<base href="/">'));
 }

 angular.module('openshiftConsole').config(function(AuthServiceProvider) {
   AuthServiceProvider.UserStore('MemoryUserStore');
 });

 //load the module
beforeEach(module('openshiftConsole'));

Remove HawtioNav* mocks (no longer used)
Remove HawtioNav* mocks (no longer used)

We're using Patternfly nav now.
