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 {
id: number;
author: String;

View File

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

View File

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

View File

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

View File

@ -196,9 +196,6 @@ var _a;
"use strict";
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return Principal; });
/* unused harmony export Authority */
/**
* Created by tschi on 4/16/2017.
*/
var Principal = (function () {
function Principal(authenticated, authorities, credentials) {
var _this = this;
@ -229,9 +226,6 @@ var Authority = (function () {
"use strict";
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return Book; });
/**
* Created by tschi on 4/17/2017.
*/
var Book = (function () {
function Book(id, author, title) {
this.id = id;
@ -667,9 +661,6 @@ ClickStopPropagationDirective = __decorate([
"use strict";
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return Rating; });
/**
* Created by tschi on 4/17/2017.
*/
var Rating = (function () {
function Rating(id, bookId, stars) {
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() {
sessionFilter = new SessionFilter();
Response getLoginResponse =
RestAssured.given().
filter(sessionFilter).
when().
get("/").
then().
extract().response();
Response getLoginResponse = RestAssured.given()
.filter(sessionFilter)
.when()
.get("/")
.then()
.extract()
.response();
return new SessionData(getLoginResponse.cookie("XSRF-TOKEN"), sessionFilter.getSessionId());
}