Skip to content

Commit cc3fe3b

Browse files
committed
Fixed tests due to changed timezone data
1 parent aae5907 commit cc3fe3b

File tree

2 files changed

+14
-122
lines changed

2 files changed

+14
-122
lines changed

ext/date/tests/DateTimeZone_listAbbreviations_basic1.phpt

Lines changed: 7 additions & 61 deletions
Original file line numberDiff line numberDiff line change
@@ -26,20 +26,11 @@ var_dump( $abbr["acst"] );
2626
--EXPECTF--
2727
*** Testing DateTimeZone::listAbbreviations() : basic functionality ***
2828
string(5) "array"
29-
int(%d)
29+
int(144)
3030

3131
-- Format a sample entry --
32-
array(12) {
32+
array(6) {
3333
[0]=>
34-
array(3) {
35-
["dst"]=>
36-
bool(false)
37-
["offset"]=>
38-
int(32400)
39-
["timezone_id"]=>
40-
string(18) "Australia/Adelaide"
41-
}
42-
[1]=>
4334
array(3) {
4435
["dst"]=>
4536
bool(false)
@@ -48,52 +39,7 @@ array(12) {
4839
["timezone_id"]=>
4940
string(18) "Australia/Adelaide"
5041
}
51-
[2]=>
52-
array(3) {
53-
["dst"]=>
54-
bool(false)
55-
["offset"]=>
56-
int(32400)
57-
["timezone_id"]=>
58-
string(21) "Australia/Broken_Hill"
59-
}
60-
[3]=>
61-
array(3) {
62-
["dst"]=>
63-
bool(false)
64-
["offset"]=>
65-
int(32400)
66-
["timezone_id"]=>
67-
string(16) "Australia/Darwin"
68-
}
69-
[4]=>
70-
array(3) {
71-
["dst"]=>
72-
bool(false)
73-
["offset"]=>
74-
int(32400)
75-
["timezone_id"]=>
76-
string(15) "Australia/North"
77-
}
78-
[5]=>
79-
array(3) {
80-
["dst"]=>
81-
bool(false)
82-
["offset"]=>
83-
int(32400)
84-
["timezone_id"]=>
85-
string(15) "Australia/South"
86-
}
87-
[6]=>
88-
array(3) {
89-
["dst"]=>
90-
bool(false)
91-
["offset"]=>
92-
int(32400)
93-
["timezone_id"]=>
94-
string(20) "Australia/Yancowinna"
95-
}
96-
[7]=>
42+
[1]=>
9743
array(3) {
9844
["dst"]=>
9945
bool(false)
@@ -102,7 +48,7 @@ array(12) {
10248
["timezone_id"]=>
10349
string(21) "Australia/Broken_Hill"
10450
}
105-
[8]=>
51+
[2]=>
10652
array(3) {
10753
["dst"]=>
10854
bool(false)
@@ -111,7 +57,7 @@ array(12) {
11157
["timezone_id"]=>
11258
string(16) "Australia/Darwin"
11359
}
114-
[9]=>
60+
[3]=>
11561
array(3) {
11662
["dst"]=>
11763
bool(false)
@@ -120,7 +66,7 @@ array(12) {
12066
["timezone_id"]=>
12167
string(15) "Australia/North"
12268
}
123-
[10]=>
69+
[4]=>
12470
array(3) {
12571
["dst"]=>
12672
bool(false)
@@ -129,7 +75,7 @@ array(12) {
12975
["timezone_id"]=>
13076
string(15) "Australia/South"
13177
}
132-
[11]=>
78+
[5]=>
13379
array(3) {
13480
["dst"]=>
13581
bool(false)

ext/date/tests/timezone_abbreviations_list_basic1.phpt

Lines changed: 7 additions & 61 deletions
Original file line numberDiff line numberDiff line change
@@ -26,20 +26,11 @@ var_dump( $abbr["acst"] );
2626
--EXPECTF--
2727
*** Testing timezone_abbreviations_list() : basic functionality ***
2828
string(5) "array"
29-
int(%d)
29+
int(144)
3030

3131
-- Format a sample entry --
32-
array(12) {
32+
array(6) {
3333
[0]=>
34-
array(3) {
35-
["dst"]=>
36-
bool(false)
37-
["offset"]=>
38-
int(32400)
39-
["timezone_id"]=>
40-
string(18) "Australia/Adelaide"
41-
}
42-
[1]=>
4334
array(3) {
4435
["dst"]=>
4536
bool(false)
@@ -48,52 +39,7 @@ array(12) {
4839
["timezone_id"]=>
4940
string(18) "Australia/Adelaide"
5041
}
51-
[2]=>
52-
array(3) {
53-
["dst"]=>
54-
bool(false)
55-
["offset"]=>
56-
int(32400)
57-
["timezone_id"]=>
58-
string(21) "Australia/Broken_Hill"
59-
}
60-
[3]=>
61-
array(3) {
62-
["dst"]=>
63-
bool(false)
64-
["offset"]=>
65-
int(32400)
66-
["timezone_id"]=>
67-
string(16) "Australia/Darwin"
68-
}
69-
[4]=>
70-
array(3) {
71-
["dst"]=>
72-
bool(false)
73-
["offset"]=>
74-
int(32400)
75-
["timezone_id"]=>
76-
string(15) "Australia/North"
77-
}
78-
[5]=>
79-
array(3) {
80-
["dst"]=>
81-
bool(false)
82-
["offset"]=>
83-
int(32400)
84-
["timezone_id"]=>
85-
string(15) "Australia/South"
86-
}
87-
[6]=>
88-
array(3) {
89-
["dst"]=>
90-
bool(false)
91-
["offset"]=>
92-
int(32400)
93-
["timezone_id"]=>
94-
string(20) "Australia/Yancowinna"
95-
}
96-
[7]=>
42+
[1]=>
9743
array(3) {
9844
["dst"]=>
9945
bool(false)
@@ -102,7 +48,7 @@ array(12) {
10248
["timezone_id"]=>
10349
string(21) "Australia/Broken_Hill"
10450
}
105-
[8]=>
51+
[2]=>
10652
array(3) {
10753
["dst"]=>
10854
bool(false)
@@ -111,7 +57,7 @@ array(12) {
11157
["timezone_id"]=>
11258
string(16) "Australia/Darwin"
11359
}
114-
[9]=>
60+
[3]=>
11561
array(3) {
11662
["dst"]=>
11763
bool(false)
@@ -120,7 +66,7 @@ array(12) {
12066
["timezone_id"]=>
12167
string(15) "Australia/North"
12268
}
123-
[10]=>
69+
[4]=>
12470
array(3) {
12571
["dst"]=>
12672
bool(false)
@@ -129,7 +75,7 @@ array(12) {
12975
["timezone_id"]=>
13076
string(15) "Australia/South"
13177
}
132-
[11]=>
78+
[5]=>
13379
array(3) {
13480
["dst"]=>
13581
bool(false)

0 commit comments

Comments
 (0)