Commit 67b082d
authored
[path_provider] Skip verifying sample file on macOS (flutter#6874)
[Sandboxing was recently disabled for macOS CI tests](flutter#149618). This caused `getApplicationDocumentsDirectory` tests in path_provider to fail because it changes the path.
With sandboxing enabled, the path is `~/Library/Containers/dev.flutter.plugins.pathProviderExample/Data/Documents`. With sandboxing disabled, the path is `~/Documents`, which requires additional permissions to access.
To workaround, skip verifying a file can be created/deleted and simply validate a path is returned.
Fixes flutter#149713.1 parent 3885ac2 commit 67b082d
File tree
2 files changed
+18
-2
lines changed- packages/path_provider
- path_provider_foundation/example/integration_test
- path_provider/example/integration_test
2 files changed
+18
-2
lines changedLines changed: 9 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
21 | 29 | | |
22 | 30 | | |
23 | 31 | | |
| |||
Lines changed: 9 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
24 | 32 | | |
25 | 33 | | |
26 | 34 | | |
| |||
0 commit comments