@@ -92,7 +92,6 @@ class SchemaTests: SQLiteTestCase {
92
92
}
93
93
94
94
func test_createTable_intColumn_referencingNamespacedColumn_buildsReferencesClause( ) {
95
- let users = self . users
96
95
db. create ( table: users) { t in
97
96
t. column ( id, primaryKey: true )
98
97
t. column ( manager_id, references: users [ id] )
@@ -104,7 +103,6 @@ class SchemaTests: SQLiteTestCase {
104
103
}
105
104
106
105
func test_createTable_intColumn_referencingQuery_buildsReferencesClause( ) {
107
- let users = self . users
108
106
db. create ( table: users) { t in
109
107
t. column ( id, primaryKey: true )
110
108
t. column ( manager_id, references: users)
@@ -165,7 +163,6 @@ class SchemaTests: SQLiteTestCase {
165
163
}
166
164
167
165
func test_createTable_foreignKey_referencingNamespacedColumn_buildsForeignKeyTableConstraint( ) {
168
- let users = self . users
169
166
db. create ( table: users) { t in
170
167
t. column ( id, primaryKey: true )
171
168
t. column ( manager_id)
@@ -179,7 +176,6 @@ class SchemaTests: SQLiteTestCase {
179
176
}
180
177
181
178
func test_createTable_foreignKey_withUpdateDependency_buildsUpdateDependency( ) {
182
- let users = self . users
183
179
db. create ( table: users) { t in
184
180
t. column ( id, primaryKey: true )
185
181
t. column ( manager_id)
@@ -193,7 +189,6 @@ class SchemaTests: SQLiteTestCase {
193
189
}
194
190
195
191
func test_create_foreignKey_withDeleteDependency_buildsDeleteDependency( ) {
196
- let users = self . users
197
192
db. create ( table: users) { t in
198
193
t. column ( id, primaryKey: true )
199
194
t. column ( manager_id)
@@ -207,7 +202,6 @@ class SchemaTests: SQLiteTestCase {
207
202
}
208
203
209
204
func test_createTable_foreignKey_withCompositeKey_buildsForeignKeyTableConstraint( ) {
210
- let users = self . users
211
205
let manager_id = Expression < Int64 > ( " manager_id " ) // required
212
206
213
207
db. create ( table: users) { t in
0 commit comments