Skip to content

Commit

Permalink
Fixed Creator & Creator+random bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
ditansu committed Feb 24, 2018
1 parent dfa7ed7 commit a22dbbe
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 10 deletions.
8 changes: 4 additions & 4 deletions Package.resolved
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@
"repositoryURL": "https://github.com/vapor/ctls.git",
"state": {
"branch": null,
"revision": "fddec6a4643d6e85b6bb6dc54b1b5cdbabd395d2",
"version": "1.1.2"
"revision": "fba1297f4986a4dac8b02f7ac4e84a77fd492e4c",
"version": "1.1.3"
}
},
{
Expand Down Expand Up @@ -96,8 +96,8 @@
"repositoryURL": "https://github.com/vapor/engine.git",
"state": {
"branch": null,
"revision": "c10bff75382f8e1f9476e4a9ebc470e18842c844",
"version": "2.2.2"
"revision": "c8072bcad951523adda26798e9b5c56a5c54d191",
"version": "2.2.3"
}
},
{
Expand Down
1 change: 0 additions & 1 deletion Sources/App/Models/Creator/Creator.swift
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ final class Creator: Model {

init(userId: Identifier,
position: Int,
photoURL: String,
info: String,
url: String,
active: Bool) {
Expand Down
2 changes: 0 additions & 2 deletions Tests/AppTests/Common/Extensions/Models/Creators+Random.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ extension Creator {
self.init(
userId: userId,
position: Int.randomValue,
photoUrl: String.randomValue,
info: String.randomValue,
url: String.randomValue,
active: Bool.randomValue
Expand All @@ -17,7 +16,6 @@ extension Creator {
self.init(
userId: userId,
position: 0,
photoUrl: "",
info: "",
url: "",
active: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import Fluent

// swiftlint:disable superfluous_disable_command
// swiftlint:disable force_try
//test don't work under Jenkins - start tests from console or Xcode
//test don't work under Jenkins - start tests from console or Xcode
//class GithubAuthControllerTest: TestCase {
//
// override func setUp() {
Expand Down Expand Up @@ -158,4 +158,3 @@ import Fluent
// }
//
//}

Original file line number Diff line number Diff line change
Expand Up @@ -157,4 +157,3 @@ import Fluent
// }
//
//}

0 comments on commit a22dbbe

Please sign in to comment.