File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed
tests/Integration/Database Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ protected function tearDown(): void
59
59
}
60
60
61
61
/**
62
- * Tests...
62
+ * @requires extension gmp
63
63
*/
64
64
public function testSavingCastedAttributesToDatabase ()
65
65
{
@@ -97,6 +97,9 @@ public function testSavingCastedAttributesToDatabase()
97
97
$ this ->assertInstanceOf (GMP ::class, $ model ->amount );
98
98
}
99
99
100
+ /**
101
+ * @requires extension gmp
102
+ */
100
103
public function testInvalidArgumentExceptionOnInvalidValue ()
101
104
{
102
105
/** @var \Illuminate\Tests\Integration\Database\CustomCasts $model */
@@ -115,6 +118,9 @@ public function testInvalidArgumentExceptionOnInvalidValue()
115
118
$ this ->assertSame ('address_line_two_value ' , $ model ->address ->lineTwo );
116
119
}
117
120
121
+ /**
122
+ * @requires extension gmp
123
+ */
118
124
public function testInvalidArgumentExceptionOnNull ()
119
125
{
120
126
/** @var \Illuminate\Tests\Integration\Database\CustomCasts $model */
@@ -133,6 +139,9 @@ public function testInvalidArgumentExceptionOnNull()
133
139
$ this ->assertSame ('address_line_two_value ' , $ model ->address ->lineTwo );
134
140
}
135
141
142
+ /**
143
+ * @requires extension gmp
144
+ */
136
145
public function testModelsWithCustomCastsCanBeConvertedToArrays ()
137
146
{
138
147
/** @var \Illuminate\Tests\Integration\Database\CustomCasts $model */
You can’t perform that action at this time.
0 commit comments