Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
simplesamlphp
Manage
Activity
Members
Labels
Plan
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Perun
Perun ProxyIdP
v1
simplesamlphp
Commits
24d856e6
Commit
24d856e6
authored
3 years ago
by
Tim van Dijen
Browse files
Options
Downloads
Patches
Plain Diff
Fix
parent
ecb5779c
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
tests/lib/SimpleSAML/Store/SQLStoreTest.php
+2
-3
2 additions, 3 deletions
tests/lib/SimpleSAML/Store/SQLStoreTest.php
tests/lib/SimpleSAML/Store/StoreFactoryTest.php
+2
-1
2 additions, 1 deletion
tests/lib/SimpleSAML/Store/StoreFactoryTest.php
with
4 additions
and
4 deletions
tests/lib/SimpleSAML/Store/SQLStoreTest.php
+
2
−
3
View file @
24d856e6
...
...
@@ -8,7 +8,6 @@ use PHPUnit\Framework\TestCase;
use
SimpleSAML\Configuration
;
use
SimpleSAML\Store
;
use
SimpleSAML\Store\StoreFactory
;
use
SimpleSAML\Store\StoreInterface
;
/**
* Tests for the SQL store.
...
...
@@ -21,8 +20,8 @@ use SimpleSAML\Store\StoreInterface;
*/
class
SQLStoreTest
extends
TestCase
{
/** @var \SimpleSAML\Store\Stor
eInterfac
e $store */
private
Store
Interfac
e
$store
;
/** @var \SimpleSAML\Store\S
QLS
tore $store */
private
Store
\SQLStor
e
$store
;
/**
...
...
This diff is collapsed.
Click to expand it.
tests/lib/SimpleSAML/Store/StoreFactoryTest.php
+
2
−
1
View file @
24d856e6
...
...
@@ -77,6 +77,7 @@ class StoreFactoryTest extends TestCase
'store.redis.prefix'
=>
'phpunit_'
,
],
'[ARRAY]'
,
'simplesaml'
);
/** @psalm-var \SimpleSAML\Store\RedisStore $store */
$store
=
StoreFactory
::
getInstance
();
$store
->
redis
=
$this
->
getMockBuilder
(
Client
::
class
)
->
setMethods
([
'get'
,
'set'
,
'setex'
,
'del'
,
'disconnect'
,
'__destruct'
])
...
...
@@ -151,7 +152,7 @@ class StoreFactoryTest extends TestCase
/**
* @param \SimpleSAML\Configuration|\SimpleSAML\Store\Store
Factory
$service
* @param \SimpleSAML\Configuration|\SimpleSAML\Store\Store
Interface
$service
* @param class-string $className
*/
protected
function
clearInstance
(
$service
,
string
$className
):
void
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment