diff --git a/Tests/FluentSQLiteTests/Utilities/Atom.swift b/Tests/FluentSQLiteTests/Utilities/Atom.swift deleted file mode 100644 index 570a5c7..0000000 --- a/Tests/FluentSQLiteTests/Utilities/Atom.swift +++ /dev/null @@ -1,42 +0,0 @@ -//import FluentTester -// -//final class Atom: Entity { -// var id: Node? -// var name: String -// var protons: Int -// var exists: Bool = false -// -// init(name: String, protons: Int) { -// self.name = name -// self.protons = protons -// } -// -// init(node: Node, in context: Context) throws { -// id = try node.extract("id") -// name = try node.extract("name") -// protons = try node.extract("protons") -// } -// -// func makeNode(context: Context) throws -> Node { -// return try Node(node: [ -// "id": id, -// "name": name, -// "protons": protons -// ]) -// } -// -// func compounds() throws -> Siblings> { -// return siblings() -// } -// -// static func prepare(_ database: Fluent.Database) throws { -// try database.create(entity) { builder in -// builder.id(for: self) -// builder.string("name") -// builder.int("protons") -// } -// } -// static func revert(_ database: Fluent.Database) throws { -// try database.delete(entity) -// } -//} diff --git a/Tests/FluentSQLiteTests/Utilities/Compound.swift b/Tests/FluentSQLiteTests/Utilities/Compound.swift deleted file mode 100644 index 5dac832..0000000 --- a/Tests/FluentSQLiteTests/Utilities/Compound.swift +++ /dev/null @@ -1,33 +0,0 @@ -//import Fluent -// -//final class Compound: Entity { -// var id: Node? -// var name: String -// var exists: Bool = false -// -// init(name: String) { -// self.name = name -// } -// -// init(node: Node, in context: Context) throws { -// id = try node.extract("id") -// name = try node.extract("name") -// } -// -// func makeNode(context:Context) throws -> Node { -// return try Node(node: [ -// "id": id, -// "name": name -// ]) -// } -// -// static func prepare(_ database: Fluent.Database) throws { -// try database.create(entity) { builder in -// builder.id() -// builder.string("name") -// } -// } -// static func revert(_ database: Fluent.Database) throws { -// try database.delete(entity) -// } -//}