File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -76,8 +76,8 @@ public function tearDown(): void
76
76
parent ::tearDown ();
77
77
78
78
$ this ->schemas ->reset ();
79
-
80
79
unset($ this ->schema );
81
80
unset($ this ->handler );
81
+ cache ()->clean ();
82
82
}
83
83
}
Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ public function tearDown(): void
81
81
parent ::tearDown ();
82
82
83
83
$ this ->schemas ->reset ();
84
-
85
84
unset($ this ->schema );
85
+ cache ()->clean ();
86
86
}
87
87
}
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ public function setUp(): void
18
18
19
19
public function testGetKeyUsesEnvironment ()
20
20
{
21
- $ this ->assertEquals ('schema: testing ' , $ this ->handler ->getKey ());
21
+ $ this ->assertEquals ('schema- testing ' , $ this ->handler ->getKey ());
22
22
}
23
23
24
24
public function testSetKeyChangesKey ()
@@ -58,7 +58,7 @@ public function testArchiveStoresEachTable()
58
58
59
59
foreach ($ tables as $ tableName => $ table )
60
60
{
61
- $ this ->assertEquals ($ table , $ this ->cache ->get ($ key . ': ' . $ tableName ));
61
+ $ this ->assertEquals ($ table , $ this ->cache ->get ($ key . '- ' . $ tableName ));
62
62
}
63
63
}
64
64
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ public function testDatabaseToCache()
17
17
$ this ->assertEmpty ($ this ->schemas ->getErrors ());
18
18
19
19
$ schemaFromService = $ this ->schemas ->get ();
20
- $ schemaFromCache = $ cache ->get ('schema: testing ' );
20
+ $ schemaFromCache = $ cache ->get ('schema- testing ' );
21
21
$ this ->assertEquals (count ($ schemaFromCache ->tables ), count ($ schemaFromService ->tables ));
22
22
23
23
$ this ->assertObjectHasAttribute ('factories ' , $ schemaFromCache ->tables );
You can’t perform that action at this time.
0 commit comments