Commit 5f080c5
Suppress DEPRECATION warning in NetworkEventUtilTest (#56971)
Summary:
Pull Request resolved: #56971
The OSS build runs Kotlin with `-Werror`, and the test calls the now-deprecated overload `RequestBody.create(MediaType?, String)`. The file already suppresses `DEPRECATION_ERROR` for the same OkHttp-version skew; extend the existing `Silvochka:Suppress` to also cover the warning-level `DEPRECATION` so the build stops failing.
## Changelog:
[Internal]
Reviewed By: cortinico
Differential Revision: D106364355
fbshipit-source-id: fff61bbc0dec19e4d68b7a3c51262673587d904c1 parent 4d36e57 commit 5f080c5
1 file changed
Lines changed: 1 addition & 1 deletion
File tree
- packages/react-native/ReactAndroid/src/test/java/com/facebook/react/modules/network
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
0 commit comments