We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a37c7de commit 1a6baddCopy full SHA for 1a6badd
Types/BasicUserTest.php
@@ -0,0 +1,34 @@
1
+<?php
2
+
3
+namespace TheCodingMachine\Graphqlite\Bundle\Types;
4
5
+use PHPUnit\Framework\TestCase;
6
+use RuntimeException;
7
8
+class BasicUserTest extends TestCase
9
+{
10
11
+ public function testGetPassword()
12
+ {
13
+ $user = new BasicUser('foo');
14
15
+ $this->expectException(RuntimeException::class);
16
+ $user->getPassword();
17
+ }
18
19
+ public function testEraseCredentials()
20
21
22
23
24
+ $user->eraseCredentials();
25
26
27
+ public function testGetSalt()
28
29
30
31
32
+ $user->getSalt();
33
34
+}
0 commit comments