This repository was archived by the owner on Mar 14, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 2525 <logging >
2626 <log type =" tap" target =" build/report.tap" />
2727 <log type =" junit" target =" build/report.junit.xml" />
28- <log type =" coverage-html" target =" build/coverage" charset = " UTF-8 " yui = " true " highlight = " true " />
28+ <log type =" coverage-html" target =" build/coverage" />
2929 <log type =" coverage-text" target =" build/coverage.txt" />
3030 <log type =" coverage-clover" target =" build/logs/clover.xml" />
3131 </logging >
Original file line number Diff line number Diff line change 66use Orchestra \Testbench \TestCase ;
77use Illuminate \Encryption \Encrypter ;
88use BeyondCode \Credentials \Credentials ;
9+ use Illuminate \Contracts \Encryption \DecryptException ;
910use BeyondCode \Credentials \CredentialsServiceProvider ;
1011
1112class CredentialTest extends TestCase
@@ -88,10 +89,11 @@ public function it_returns_decrypted_data()
8889
8990 /**
9091 * @test
91- * @expectedException Illuminate\Contracts\Encryption\DecryptException
9292 */
9393 public function it_can_not_decrypt_with_the_wrong_key ()
9494 {
95+ $ this ->expectException (DecryptException::class);
96+
9597 $ masterKey = Str::random (16 );
9698
9799 // create fake credentials
You can’t perform that action at this time.
0 commit comments