BAEL-797 formatting test and removing created by headers on files

This commit is contained in:
tschiman 2017-04-29 21:25:08 -06:00
parent 909e7a9ecd
commit 8d81b2a76b
8 changed files with 9 additions and 28 deletions

View File

@ -1,6 +1,3 @@
/**
* Created by tschi on 4/17/2017.
*/
export class Book { export class Book {
id: number; id: number;
author: String; author: String;

View File

@ -1,6 +1,3 @@
/**
* Created by tschi on 4/16/2017.
*/
export class Principal { export class Principal {
public authenticated: boolean; public authenticated: boolean;
public authorities: Authority[] = []; public authorities: Authority[] = [];

View File

@ -1,6 +1,3 @@
/**
* Created by tschi on 4/17/2017.
*/
export class Rating{ export class Rating{
id: number; id: number;
bookId: number; bookId: number;

View File

@ -8,7 +8,6 @@ import org.springframework.stereotype.Component;
@Component @Component
public class ErrorPageConfig implements ErrorPageRegistrar { public class ErrorPageConfig implements ErrorPageRegistrar {
@Override @Override
public void registerErrorPages(ErrorPageRegistry registry) { public void registerErrorPages(ErrorPageRegistry registry) {
registry.addErrorPages(new ErrorPage(HttpStatus.NOT_FOUND, "/")); registry.addErrorPages(new ErrorPage(HttpStatus.NOT_FOUND, "/"));

View File

@ -196,9 +196,6 @@ var _a;
"use strict"; "use strict";
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return Principal; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return Principal; });
/* unused harmony export Authority */ /* unused harmony export Authority */
/**
* Created by tschi on 4/16/2017.
*/
var Principal = (function () { var Principal = (function () {
function Principal(authenticated, authorities, credentials) { function Principal(authenticated, authorities, credentials) {
var _this = this; var _this = this;
@ -229,9 +226,6 @@ var Authority = (function () {
"use strict"; "use strict";
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return Book; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return Book; });
/**
* Created by tschi on 4/17/2017.
*/
var Book = (function () { var Book = (function () {
function Book(id, author, title) { function Book(id, author, title) {
this.id = id; this.id = id;
@ -667,9 +661,6 @@ ClickStopPropagationDirective = __decorate([
"use strict"; "use strict";
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return Rating; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return Rating; });
/**
* Created by tschi on 4/17/2017.
*/
var Rating = (function () { var Rating = (function () {
function Rating(id, bookId, stars) { function Rating(id, bookId, stars) {
this.id = id; this.id = id;

File diff suppressed because one or more lines are too long

View File

@ -212,13 +212,13 @@ public class LiveTest {
private SessionData login() { private SessionData login() {
sessionFilter = new SessionFilter(); sessionFilter = new SessionFilter();
Response getLoginResponse = Response getLoginResponse = RestAssured.given()
RestAssured.given(). .filter(sessionFilter)
filter(sessionFilter). .when()
when(). .get("/")
get("/"). .then()
then(). .extract()
extract().response(); .response();
return new SessionData(getLoginResponse.cookie("XSRF-TOKEN"), sessionFilter.getSessionId()); return new SessionData(getLoginResponse.cookie("XSRF-TOKEN"), sessionFilter.getSessionId());
} }