質問編集履歴

1

翻訳してみました

2017/09/19 08:26

投稿

Somen510
Somen510

スコア26

test CHANGED
File without changes
test CHANGED
@@ -119,3 +119,29 @@
119
119
 
120
120
 
121
121
  illuminate/database : ^4.0
122
+
123
+
124
+
125
+ [Keep getting “You cannot serialize or unserialize PDO instances” in PHPUnit using PHPStorm](https://stackoverflow.com/questions/34225720/keep-getting-you-cannot-serialize-or-unserialize-pdo-instances-in-phpunit-usin)
126
+
127
+
128
+
129
+ ↑翻訳
130
+
131
+
132
+
133
+ > 私はついにそれを理解した!何らかの理由でテスト環境変数を設定しても何の効果もありませんでした。
134
+
135
+ >
136
+
137
+ > phpunit.xml設定を作成し、テストパラメータを定義し、Phpstormでリファレンスを作成することによって、私は最終的にテストを実行することができました。
138
+
139
+ >
140
+
141
+ > 参考までに、これは私のphpunit.xmlの内容でした
142
+
143
+
144
+
145
+ これ以降も PHPStorm について語ってるので、関係ないっぽいんでしょうか ... ?
146
+
147
+ phpunit.xml はたまたまだった可能性が ... ?