Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

✅ Resurrect core integration tests #472

Draft
wants to merge 4 commits into
base: develop
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
[alias]
prisma = "run --package prisma-cli --"
integration-tests = "test --package integration-tests -- --test-threads 1"
doc-tests = "cargo test --doc -- --show-output"
build-server = "build --package stump_server --bin stump_server --release --"
codegen = "run --package codegen --bin codegen"
Expand Down
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,6 @@ target/
.env
docker-compose.yaml

core/integration-tests/.*
core/integration-tests/*libraries*
static
apps/server/client/*
!apps/server/client/.placeholder
Expand Down
2 changes: 1 addition & 1 deletion apps/server/src/utils/http.rs
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ mod tests {
async fn test_named_file_response() {
let response = NamedFile::open(
PathBuf::from(env!("CARGO_MANIFEST_DIR"))
.join("../../core/integration-tests/data/example.jpeg"),
.join("../../core/tests/data/example.jpeg"),
)
.await
.unwrap();
Expand Down
18 changes: 0 additions & 18 deletions core/integration-tests/Cargo.toml

This file was deleted.

114 changes: 0 additions & 114 deletions core/integration-tests/tests/epub.rs

This file was deleted.

5 changes: 0 additions & 5 deletions core/integration-tests/tests/lib.rs

This file was deleted.

82 changes: 0 additions & 82 deletions core/integration-tests/tests/rar.rs

This file was deleted.

128 changes: 0 additions & 128 deletions core/integration-tests/tests/scanner.rs

This file was deleted.

Loading
Loading