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 6
6
"homepage" : " https://github.com/mebjas/CSRF-Protector-PHP" ,
7
7
"license" : " APACHE" ,
8
8
"require-dev" : {
9
- "satooshi/php-coveralls" : " dev-master "
9
+ "satooshi/php-coveralls" : " ~1.0 "
10
10
},
11
11
"autoload" : {
12
12
"classmap" : [" libs/csrf/" ]
Original file line number Diff line number Diff line change @@ -81,13 +81,15 @@ class csrfp_test extends PHPUnit_Framework_TestCase
81
81
/**
82
82
* @var log directory for testing
83
83
*/
84
- private $ logDir = __DIR__ . ' /logs ' ;
84
+ private $ logDir ;
85
85
86
86
/**
87
87
* Function to be run before every test*() functions.
88
88
*/
89
89
public function setUp ()
90
90
{
91
+ $ this ->logDir = __DIR__ .'/logs ' ;
92
+
91
93
csrfprotector::$ config ['jsPath ' ] = '../js/csrfprotector.js ' ;
92
94
csrfprotector::$ config ['CSRFP_TOKEN ' ] = 'csrfp_token ' ;
93
95
csrfprotector::$ config ['secureCookie ' ] = false ;
You can’t perform that action at this time.
0 commit comments