@@ 20-26 (lines=7) @@ | ||
17 | $this->assertSame($testTitle, $worksheet->getTitle()); |
|
18 | } |
|
19 | ||
20 | public function setTitleInvalidProvider() |
|
21 | { |
|
22 | return [ |
|
23 | [str_repeat('a', 32), 'Maximum 31 characters allowed in sheet title.'], |
|
24 | ['invalid*title', 'Invalid character found in sheet title'], |
|
25 | ]; |
|
26 | } |
|
27 | ||
28 | /** |
|
29 | * @param string $title |
|
@@ 78-84 (lines=7) @@ | ||
75 | $this->assertSame($testCodeName, $worksheet->getCodeName()); |
|
76 | } |
|
77 | ||
78 | public function setCodeNameInvalidProvider() |
|
79 | { |
|
80 | return [ |
|
81 | [str_repeat('a', 32), 'Maximum 31 characters allowed in sheet code name.'], |
|
82 | ['invalid*code*name', 'Invalid character found in sheet code name'], |
|
83 | ]; |
|
84 | } |
|
85 | ||
86 | /** |
|
87 | * @param string $codeName |