Skip to content

Commit 68fe4ba

Browse files
committed
prevent to send unexpected requests in tests
1 parent 95d9b87 commit 68fe4ba

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
/demo export-ignore
22
/tests export-ignore
33
/scripts export-ignore
4+
/.github export-ignore
45
.gitattributes export-ignore
56
.gitignore export-ignore
67
.php_cs.dist export-ignore

tests/PagesTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,12 @@
66
class PagesTest extends PagesTestCase
77
{
88
/**
9+
* -1 = Read from cache (throws an exception if the cache doesn't exist)
910
* 0 = Read from cache (generate the files the first time)
1011
* 1 = Read from net without override the cache files
1112
* 2 = Read from net and override the cache files
1213
*/
13-
const CACHE = 0;
14+
const CACHE = -1;
1415

1516
/**
1617
* 0 = Do not override the fixtures

0 commit comments

Comments
 (0)