Skip to content

Commit

Permalink
Resurrect core integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
JMicheli committed Oct 11, 2024
1 parent 3d71924 commit c950bb3
Show file tree
Hide file tree
Showing 36 changed files with 436 additions and 779 deletions.
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 @@ -244,7 +244,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

0 comments on commit c950bb3

Please sign in to comment.